Warning: Permanently added '13.116.84.76' (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/8598626-fedora-41-s390x --chroot fedora-41-s390x Version: 1.2 PID: 15961 Logging PID: 15962 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'build_id': 8598626, 'buildroot_pkgs': [], 'chroot': 'fedora-41-s390x', 'enable_net': False, 'fedora_review': False, 'git_hash': 'b550e4f1f26a2e684cf1edc00a52750d2c8a32fd', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/psimovec/openblas-0.3.23/python-imagecodecs', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'python-imagecodecs', 'package_version': '2024.9.22-1', 'project_dirname': 'openblas-0.3.23', 'project_name': 'openblas-0.3.23', 'project_owner': 'psimovec', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/psimovec/openblas-0.3.23/fedora-41-s390x/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}, {'baseurl': 'http://kojipkgs.fedoraproject.org/repos/rawhide/latest/$basearch/', 'id': 'http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch', 'name': 'Additional repo http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch'}], 'sandbox': 'psimovec/openblas-0.3.23--https://src.fedoraproject.org/user/orion', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': None, 'submitter': 'https://src.fedoraproject.org/user/orion', 'tags': [], 'task_id': '8598626-fedora-41-s390x', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/psimovec/openblas-0.3.23/python-imagecodecs /var/lib/copr-rpmbuild/workspace/workdir-jjoe5edh/python-imagecodecs --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/psimovec/openblas-0.3.23/python-imagecodecs', '/var/lib/copr-rpmbuild/workspace/workdir-jjoe5edh/python-imagecodecs', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-jjoe5edh/python-imagecodecs'... Running: git checkout b550e4f1f26a2e684cf1edc00a52750d2c8a32fd -- cmd: ['git', 'checkout', 'b550e4f1f26a2e684cf1edc00a52750d2c8a32fd', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-jjoe5edh/python-imagecodecs rc: 0 stdout: stderr: Note: switching to 'b550e4f1f26a2e684cf1edc00a52750d2c8a32fd'. 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 b550e4f automatic import of python-imagecodecs Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-jjoe5edh/python-imagecodecs rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading imagecodecs-2024.9.22.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o imagecodecs-2024.9.22.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/psimovec/openblas-0.3.23/python-imagecodecs/imagecodecs-2024.9.22.tar.gz/md5/89e06d36d185338504af00a7e07099ba/imagecodecs-2024.9.22.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9261k 100 9261k 0 0 5488k 0 0:00:01 0:00:01 --:--:-- 5489k INFO: Reading stdout from command: md5sum imagecodecs-2024.9.22.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-jjoe5edh/python-imagecodecs/python-imagecodecs.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-jjoe5edh/python-imagecodecs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1738534918.517919 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.0 starting (python version = 3.13.0, NVR = mock-6.0-1.fc41), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-jjoe5edh/python-imagecodecs/python-imagecodecs.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-jjoe5edh/python-imagecodecs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1738534918.517919 -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-jjoe5edh/python-imagecodecs/python-imagecodecs.spec) Config(fedora-41-s390x) Start: clean chroot Finish: clean chroot Mock Version: 6.0 INFO: Mock Version: 6.0 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-41-s390x-bootstrap-1738534918.517919/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using container image: registry.fedoraproject.org/fedora:41 INFO: Pulling image: registry.fedoraproject.org/fedora:41 INFO: Tagging container image as mock-bootstrap-628494a5-f20c-46e6-885d-0db89a41168a INFO: Checking that 18b9d457c47e76e4dfbc045f62e6c26a52ac6d9b1ee99c6a9ae36accd1314857 image matches host's architecture INFO: Copy content of container 18b9d457c47e76e4dfbc045f62e6c26a52ac6d9b1ee99c6a9ae36accd1314857 to /var/lib/mock/fedora-41-s390x-bootstrap-1738534918.517919/root INFO: mounting 18b9d457c47e76e4dfbc045f62e6c26a52ac6d9b1ee99c6a9ae36accd1314857 with podman image mount INFO: image 18b9d457c47e76e4dfbc045f62e6c26a52ac6d9b1ee99c6a9ae36accd1314857 as /var/lib/containers/storage/overlay/872ad1f172c572d07aedffd12d090ebbcfac9e54e61a7f38ad51cb1aedd6e2a6/merged INFO: umounting image 18b9d457c47e76e4dfbc045f62e6c26a52ac6d9b1ee99c6a9ae36accd1314857 (/var/lib/containers/storage/overlay/872ad1f172c572d07aedffd12d090ebbcfac9e54e61a7f38ad51cb1aedd6e2a6/merged) with podman image umount INFO: Removing image mock-bootstrap-628494a5-f20c-46e6-885d-0db89a41168a 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-41-s390x-1738534918.517919/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.0-1.fc41.s390x rpm-sequoia-1.7.0-3.fc41.s390x dnf5-5.2.8.1-3.fc41.s390x dnf5-plugins-5.2.8.1-3.fc41.s390x Start: installing minimal buildroot with dnf5 Updating and loading repositories: updates 100% | 2.1 MiB/s | 7.9 MiB | 00m04s fedora 100% | 6.3 MiB/s | 32.8 MiB | 00m05s Copr repository 100% | 1.2 MiB/s | 3.0 MiB | 00m02s Additional repo http_kojipkgs_fedorapr 100% | 3.8 MiB/s | 13.6 MiB | 00m04s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash s390x 5.2.37-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.4 MiB bzip2 s390x 1.0.8-20.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 86.9 KiB coreutils s390x 9.6-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 5.8 MiB cpio s390x 2.15-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB diffutils s390x 3.10-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB fedora-release-common noarch 42-0.16 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 19.8 KiB findutils s390x 1:4.10.0-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 MiB gawk s390x 5.3.1-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.7 MiB glibc-minimal-langpack s390x 2.40.9000-35.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B grep s390x 3.11-10.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB gzip s390x 1.13-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 396.6 KiB info s390x 7.2-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 397.0 KiB patch s390x 2.7.6-26.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 290.2 KiB redhat-rpm-config noarch 342-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 186.8 KiB rpm-build s390x 4.20.0-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 163.4 KiB sed s390x 4.9-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 865.0 KiB shadow-utils s390x 2:4.17.0-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.0 MiB tar s390x 2:1.35-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.0 MiB unzip s390x 6.0-66.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 393.5 KiB util-linux s390x 2.40.4-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.2 MiB which s390x 2.22-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 82.8 KiB xz s390x 1:5.6.3-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB Installing dependencies: add-determinism s390x 0.5.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.5 MiB alternatives s390x 1.31-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 61.9 KiB ansible-srpm-macros noarch 1-17.1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 35.7 KiB audit-libs s390x 4.0.3-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 362.9 KiB authselect s390x 1.5.0-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 151.8 KiB authselect-libs s390x 1.5.0-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 817.4 KiB basesystem noarch 11-22.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B binutils s390x 2.43.50-12.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 27.2 MiB build-reproducibility-srpm-macros noarch 0.5.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 735.0 B bzip2-libs s390x 1.0.8-20.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 88.4 KiB ca-certificates noarch 2024.2.69_v8.0.401-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.6 MiB coreutils-common s390x 9.6-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.1 MiB cracklib s390x 2.9.11-7.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 229.5 KiB crypto-policies noarch 20250124-1.git4d262e7.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 137.4 KiB curl s390x 8.11.1-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 478.5 KiB cyrus-sasl-lib s390x 2.1.28-30.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.4 MiB dbus s390x 1:1.16.0-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B dbus-broker s390x 36-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 385.5 KiB dbus-common noarch 1:1.16.0-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.2 KiB debugedit s390x 5.1-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 195.9 KiB dwz s390x 0.15-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 310.4 KiB ed s390x 1.21-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 146.3 KiB efi-srpm-macros noarch 6-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 40.1 KiB elfutils s390x 0.192-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.0 MiB elfutils-debuginfod-client s390x 0.192-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 75.4 KiB elfutils-default-yama-scope noarch 0.192-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 KiB elfutils-libelf s390x 0.192-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB elfutils-libs s390x 0.192-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 758.0 KiB expat s390x 2.6.4-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 304.3 KiB fedora-gpg-keys noarch 42-0.4 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 128.2 KiB fedora-release noarch 42-0.16 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B fedora-release-identity-basic noarch 42-0.16 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 719.0 B fedora-repos noarch 42-0.4 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.9 KiB fedora-repos-rawhide noarch 42-0.4 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.2 KiB file s390x 5.45-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 99.1 KiB file-libs s390x 5.45-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 9.9 MiB filesystem s390x 3.18-36.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 112.0 B filesystem-srpm-macros noarch 3.18-36.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 38.2 KiB fonts-srpm-macros noarch 1:2.0.5-21.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 55.8 KiB forge-srpm-macros noarch 0.4.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 38.9 KiB fpc-srpm-macros noarch 1.3-14.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 144.0 B gdb-minimal s390x 15.2-7.fc42 copr_base 14.9 MiB gdbm s390x 1:1.23-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 471.3 KiB gdbm-libs s390x 1:1.23-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 125.4 KiB ghc-srpm-macros noarch 1.9.2-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 779.0 B glibc s390x 2.40.9000-35.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 5.1 MiB glibc-common s390x 2.40.9000-35.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB glibc-gconv-extra s390x 2.40.9000-35.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.7 MiB gmp s390x 1:6.3.0-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 770.0 KiB gnat-srpm-macros noarch 6-7.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 KiB go-srpm-macros noarch 3.6.0-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 60.8 KiB jansson s390x 2.14-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 88.8 KiB json-c s390x 0.18-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 82.4 KiB kernel-srpm-macros noarch 1.0-25.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 KiB keyutils-libs s390x 1.6.3-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 50.1 KiB krb5-libs s390x 1.21.3-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.4 MiB libacl s390x 2.3.2-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 34.1 KiB libarchive s390x 3.7.7-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB libattr s390x 2.5.2-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 22.9 KiB libblkid s390x 2.40.4-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 278.3 KiB libbrotli s390x 1.1.0-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 908.7 KiB libcap s390x 2.73-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 209.0 KiB libcap-ng s390x 0.8.5-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 60.4 KiB libcom_err s390x 1.47.2-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 58.9 KiB libcurl s390x 8.11.1-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 869.7 KiB libeconf s390x 0.7.5-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 64.3 KiB libevent s390x 2.1.12-15.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 914.1 KiB libfdisk s390x 2.40.4-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 386.6 KiB libffi s390x 3.4.6-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 61.8 KiB libgcc s390x 15.0.1-0.6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 169.2 KiB libgomp s390x 15.0.1-0.6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 539.2 KiB libidn2 s390x 2.3.7-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 324.8 KiB libmount s390x 2.40.4-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 371.6 KiB libnghttp2 s390x 1.64.0-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 173.9 KiB libpkgconf s390x 2.3.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 81.8 KiB libpsl s390x 0.21.5-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 72.2 KiB libpwquality s390x 1.4.5-12.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 400.3 KiB libseccomp s390x 2.5.5-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 185.1 KiB libselinux s390x 3.8-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 204.9 KiB libsemanage s390x 3.8-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 311.9 KiB libsepol s390x 3.8-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 849.5 KiB libsmartcols s390x 2.40.4-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 184.1 KiB libssh s390x 0.11.1-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 581.3 KiB libssh-config noarch 0.11.1-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 277.0 B libstdc++ s390x 15.0.1-0.6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.1 MiB libtasn1 s390x 4.19.0-11.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 183.4 KiB libtirpc s390x 1.3.6-1.rc3.fc42.2 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 210.4 KiB libtool-ltdl s390x 2.5.4-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 69.7 KiB libunistring s390x 1.1-9.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB libuuid s390x 2.40.4-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 33.1 KiB libverto s390x 0.3.2-10.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 25.1 KiB libxcrypt s390x 4.4.38-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 271.7 KiB libxml2 s390x 2.12.9-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 MiB libzstd s390x 1.5.6-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 867.4 KiB lua-libs s390x 5.4.7-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 316.8 KiB lua-srpm-macros noarch 1-15.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.3 KiB lz4-libs s390x 1.10.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 197.2 KiB mpfr s390x 4.2.1-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 698.7 KiB ncurses-base noarch 6.5-5.20250125.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 326.8 KiB ncurses-libs s390x 6.5-5.20250125.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB ocaml-srpm-macros noarch 10-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 KiB openblas-srpm-macros noarch 2-19.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 112.0 B openldap s390x 2.6.9-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 668.7 KiB openssl-libs s390x 1:3.2.2-14.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.1 MiB p11-kit s390x 0.25.5-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.5 MiB p11-kit-trust s390x 0.25.5-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 462.9 KiB package-notes-srpm-macros noarch 0.5-13.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 KiB pam s390x 1.7.0-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.5 MiB pam-libs s390x 1.7.0-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 122.0 KiB pcre2 s390x 10.44-1.fc42.2 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 672.6 KiB pcre2-syntax noarch 10.44-1.fc42.2 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 251.6 KiB perl-srpm-macros noarch 1-57.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 861.0 B pkgconf s390x 2.3.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 88.2 KiB pkgconf-m4 noarch 2.3.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 14.4 KiB pkgconf-pkg-config s390x 2.3.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 988.0 B popt s390x 1.19-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 140.5 KiB publicsuffix-list-dafsa noarch 20250116-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 68.5 KiB pyproject-srpm-macros noarch 1.16.4-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 KiB python-srpm-macros noarch 3.13-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 51.0 KiB qt5-srpm-macros noarch 5.15.15-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 500.0 B qt6-srpm-macros noarch 6.8.1-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 456.0 B readline s390x 8.2-12.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 540.6 KiB rpm s390x 4.20.0-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.0 MiB rpm-build-libs s390x 4.20.0-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 214.3 KiB rpm-libs s390x 4.20.0-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 801.2 KiB rpm-sequoia s390x 1.7.0-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.2 MiB rust-srpm-macros noarch 26.3-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.8 KiB setup noarch 2.15.0-10.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 720.7 KiB sqlite-libs s390x 3.47.2-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB systemd s390x 257.2-17.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 17.2 MiB systemd-libs s390x 257.2-17.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.3 MiB systemd-pam s390x 257.2-17.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB systemd-rpm-macros noarch 257.2-17.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 10.7 KiB util-linux-core s390x 2.40.4-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.4 MiB xxhash-libs s390x 0.8.3-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 65.7 KiB xz-libs s390x 1:5.6.3-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 218.0 KiB zig-srpm-macros noarch 1-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 KiB zip s390x 3.0-43.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 729.6 KiB zlib-ng-compat s390x 2.2.3-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 109.1 KiB zstd s390x 1.5.6-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 162 packages Total size of inbound packages is 60 MiB. Need to download 60 MiB. After this operation, 201 MiB extra will be used (install 201 MiB, remove 0 B). [ 1/162] bzip2-0:1.0.8-20.fc42.s390x 100% | 59.1 KiB/s | 52.8 KiB | 00m01s [ 2/162] coreutils-0:9.6-1.fc42.s390x 100% | 876.4 KiB/s | 1.2 MiB | 00m01s [ 3/162] cpio-0:2.15-2.fc41.s390x 100% | 458.2 KiB/s | 290.0 KiB | 00m01s [ 4/162] bash-0:5.2.37-1.fc42.s390x 100% | 1.2 MiB/s | 1.8 MiB | 00m02s [ 5/162] fedora-release-common-0:42-0. 100% | 95.7 KiB/s | 24.3 KiB | 00m00s [ 6/162] diffutils-0:3.10-9.fc42.s390x 100% | 1.0 MiB/s | 409.6 KiB | 00m00s [ 7/162] findutils-1:4.10.0-5.fc42.s39 100% | 2.1 MiB/s | 548.9 KiB | 00m00s [ 8/162] gawk-0:5.3.1-1.fc42.s390x 100% | 4.2 MiB/s | 1.1 MiB | 00m00s [ 9/162] glibc-minimal-langpack-0:2.40 100% | 499.4 KiB/s | 127.8 KiB | 00m00s [ 10/162] grep-0:3.11-10.fc42.s390x 100% | 1.1 MiB/s | 294.4 KiB | 00m00s [ 11/162] gzip-0:1.13-3.fc42.s390x 100% | 671.3 KiB/s | 171.2 KiB | 00m00s [ 12/162] info-0:7.2-3.fc42.s390x 100% | 756.6 KiB/s | 192.9 KiB | 00m00s [ 13/162] patch-0:2.7.6-26.fc42.s390x 100% | 543.9 KiB/s | 139.2 KiB | 00m00s [ 14/162] redhat-rpm-config-0:342-1.fc4 100% | 294.8 KiB/s | 74.9 KiB | 00m00s [ 15/162] rpm-build-0:4.20.0-8.fc42.s39 100% | 294.9 KiB/s | 75.2 KiB | 00m00s [ 16/162] sed-0:4.9-4.fc42.s390x 100% | 1.2 MiB/s | 311.0 KiB | 00m00s [ 17/162] shadow-utils-2:4.17.0-4.fc42. 100% | 4.8 MiB/s | 1.3 MiB | 00m00s [ 18/162] unzip-0:6.0-66.fc42.s390x 100% | 750.1 KiB/s | 192.8 KiB | 00m00s [ 19/162] tar-2:1.35-5.fc42.s390x 100% | 2.2 MiB/s | 869.5 KiB | 00m00s [ 20/162] util-linux-0:2.40.4-2.fc42.s3 100% | 4.2 MiB/s | 1.1 MiB | 00m00s [ 21/162] which-0:2.22-2.fc42.s390x 100% | 168.1 KiB/s | 42.9 KiB | 00m00s [ 22/162] xz-1:5.6.3-3.fc42.s390x 100% | 1.8 MiB/s | 462.1 KiB | 00m00s [ 23/162] filesystem-0:3.18-36.fc42.s39 100% | 5.1 MiB/s | 1.3 MiB | 00m00s [ 24/162] fedora-repos-0:42-0.4.noarch 100% | 36.5 KiB/s | 9.3 KiB | 00m00s [ 25/162] coreutils-common-0:9.6-1.fc42 100% | 5.3 MiB/s | 2.1 MiB | 00m00s [ 26/162] glibc-common-0:2.40.9000-35.f 100% | 1.6 MiB/s | 425.3 KiB | 00m00s [ 27/162] filesystem-srpm-macros-0:3.18 100% | 101.1 KiB/s | 25.6 KiB | 00m00s [ 28/162] glibc-0:2.40.9000-35.fc42.s39 100% | 4.9 MiB/s | 1.9 MiB | 00m00s [ 29/162] rpm-0:4.20.0-8.fc42.s390x 100% | 2.0 MiB/s | 517.1 KiB | 00m00s [ 30/162] libblkid-0:2.40.4-2.fc42.s390 100% | 509.5 KiB/s | 130.4 KiB | 00m00s [ 31/162] libfdisk-0:2.40.4-2.fc42.s390 100% | 641.1 KiB/s | 164.1 KiB | 00m00s [ 32/162] libmount-0:2.40.4-2.fc42.s390 100% | 622.7 KiB/s | 158.8 KiB | 00m00s [ 33/162] libsmartcols-0:2.40.4-2.fc42. 100% | 337.4 KiB/s | 86.0 KiB | 00m00s [ 34/162] libuuid-0:2.40.4-2.fc42.s390x 100% | 115.1 KiB/s | 29.3 KiB | 00m00s [ 35/162] util-linux-core-0:2.40.4-2.fc 100% | 2.0 MiB/s | 522.9 KiB | 00m00s [ 36/162] xz-libs-1:5.6.3-3.fc42.s390x 100% | 461.7 KiB/s | 117.7 KiB | 00m00s [ 37/162] fedora-gpg-keys-0:42-0.4.noar 100% | 492.8 KiB/s | 125.2 KiB | 00m00s [ 38/162] fedora-repos-rawhide-0:42-0.4 100% | 35.0 KiB/s | 8.9 KiB | 00m00s [ 39/162] rpm-libs-0:4.20.0-8.fc42.s390 100% | 1.2 MiB/s | 322.2 KiB | 00m00s [ 40/162] glibc-gconv-extra-0:2.40.9000 100% | 4.3 MiB/s | 1.7 MiB | 00m00s [ 41/162] rpm-build-libs-0:4.20.0-8.fc4 100% | 394.4 KiB/s | 101.0 KiB | 00m00s [ 42/162] libxcrypt-0:4.4.38-4.fc42.s39 100% | 485.2 KiB/s | 123.7 KiB | 00m00s [ 43/162] systemd-libs-0:257.2-17.fc42. 100% | 3.0 MiB/s | 813.6 KiB | 00m00s [ 44/162] libselinux-0:3.8-1.fc42.s390x 100% | 389.7 KiB/s | 100.2 KiB | 00m00s [ 45/162] libsepol-0:3.8-1.fc42.s390x 100% | 1.3 MiB/s | 348.3 KiB | 00m00s [ 46/162] ncurses-libs-0:6.5-5.20250125 100% | 1.4 MiB/s | 358.5 KiB | 00m00s [ 47/162] ncurses-base-0:6.5-5.20250125 100% | 250.1 KiB/s | 63.5 KiB | 00m00s [ 48/162] audit-libs-0:4.0.3-2.fc42.s39 100% | 494.3 KiB/s | 126.5 KiB | 00m00s [ 49/162] pam-0:1.7.0-4.fc42.s390x 100% | 2.0 MiB/s | 525.1 KiB | 00m00s [ 50/162] libeconf-0:0.7.5-2.fc42.s390x 100% | 140.0 KiB/s | 36.4 KiB | 00m00s [ 51/162] pam-libs-0:1.7.0-4.fc42.s390x 100% | 231.1 KiB/s | 58.9 KiB | 00m00s [ 52/162] zlib-ng-compat-0:2.2.3-2.fc42 100% | 261.8 KiB/s | 66.8 KiB | 00m00s [ 53/162] authselect-libs-0:1.5.0-9.fc4 100% | 781.3 KiB/s | 201.6 KiB | 00m00s [ 54/162] authselect-0:1.5.0-9.fc42.s39 100% | 543.8 KiB/s | 139.2 KiB | 00m00s [ 55/162] libcap-ng-0:0.8.5-4.fc42.s390 100% | 127.9 KiB/s | 32.7 KiB | 00m00s [ 56/162] readline-0:8.2-12.fc42.s390x 100% | 897.3 KiB/s | 228.8 KiB | 00m00s [ 57/162] bzip2-libs-0:1.0.8-20.fc42.s3 100% | 187.8 KiB/s | 47.9 KiB | 00m00s [ 58/162] libacl-0:2.3.2-3.fc42.s390x 100% | 93.0 KiB/s | 23.6 KiB | 00m00s [ 59/162] libgcc-0:15.0.1-0.6.fc42.s390 100% | 282.5 KiB/s | 72.0 KiB | 00m00s [ 60/162] libcap-0:2.73-2.fc42.s390x 100% | 343.8 KiB/s | 87.3 KiB | 00m00s [ 61/162] setup-0:2.15.0-10.fc42.noarch 100% | 587.5 KiB/s | 149.8 KiB | 00m00s [ 62/162] libsemanage-0:3.8-1.fc42.s390 100% | 481.6 KiB/s | 122.3 KiB | 00m00s [ 63/162] rpm-sequoia-0:1.7.0-4.fc42.s3 100% | 4.0 MiB/s | 1.0 MiB | 00m00s [ 64/162] sqlite-libs-0:3.47.2-2.fc42.s 100% | 2.9 MiB/s | 775.8 KiB | 00m00s [ 65/162] libzstd-0:1.5.6-3.fc42.s390x 100% | 1.3 MiB/s | 346.9 KiB | 00m00s [ 66/162] lua-libs-0:5.4.7-2.fc42.s390x 100% | 551.9 KiB/s | 140.7 KiB | 00m00s [ 67/162] popt-0:1.19-8.fc42.s390x 100% | 240.2 KiB/s | 61.5 KiB | 00m00s [ 68/162] elfutils-libelf-0:0.192-8.fc4 100% | 836.0 KiB/s | 213.2 KiB | 00m00s [ 69/162] elfutils-libs-0:0.192-8.fc42. 100% | 1.1 MiB/s | 284.4 KiB | 00m00s [ 70/162] elfutils-0:0.192-8.fc42.s390x 100% | 2.2 MiB/s | 586.4 KiB | 00m00s [ 71/162] elfutils-debuginfod-client-0: 100% | 185.2 KiB/s | 47.2 KiB | 00m00s [ 72/162] libgomp-0:15.0.1-0.6.fc42.s39 100% | 1.3 MiB/s | 348.2 KiB | 00m00s [ 73/162] file-libs-0:5.45-9.fc42.s390x 100% | 2.9 MiB/s | 767.8 KiB | 00m00s [ 74/162] file-0:5.45-9.fc42.s390x 100% | 192.2 KiB/s | 48.8 KiB | 00m00s [ 75/162] alternatives-0:1.31-3.fc42.s3 100% | 164.9 KiB/s | 42.0 KiB | 00m00s [ 76/162] jansson-0:2.14-2.fc42.s390x 100% | 177.8 KiB/s | 45.2 KiB | 00m00s [ 77/162] debugedit-0:5.1-4.fc42.s390x 100% | 319.5 KiB/s | 81.5 KiB | 00m00s [ 78/162] libarchive-0:3.7.7-2.fc42.s39 100% | 1.7 MiB/s | 444.7 KiB | 00m00s [ 79/162] pkgconf-pkg-config-0:2.3.0-2. 100% | 38.6 KiB/s | 9.8 KiB | 00m00s [ 80/162] pkgconf-0:2.3.0-2.fc42.s390x 100% | 179.6 KiB/s | 45.6 KiB | 00m00s [ 81/162] pkgconf-m4-0:2.3.0-2.fc42.noa 100% | 56.0 KiB/s | 14.2 KiB | 00m00s [ 82/162] libpkgconf-0:2.3.0-2.fc42.s39 100% | 151.4 KiB/s | 38.5 KiB | 00m00s [ 83/162] binutils-0:2.43.50-12.fc42.s3 100% | 4.7 MiB/s | 6.0 MiB | 00m01s [ 84/162] zstd-0:1.5.6-3.fc42.s390x 100% | 1.9 MiB/s | 517.1 KiB | 00m00s [ 85/162] curl-0:8.11.1-3.fc42.s390x 100% | 885.0 KiB/s | 225.7 KiB | 00m00s [ 86/162] build-reproducibility-srpm-ma 100% | 45.9 KiB/s | 11.6 KiB | 00m00s [ 87/162] add-determinism-0:0.5.0-2.fc4 100% | 4.3 MiB/s | 1.1 MiB | 00m00s [ 88/162] efi-srpm-macros-0:6-2.fc42.no 100% | 89.4 KiB/s | 22.5 KiB | 00m00s [ 89/162] forge-srpm-macros-0:0.4.0-2.f 100% | 78.2 KiB/s | 19.9 KiB | 00m00s [ 90/162] go-srpm-macros-0:3.6.0-6.fc42 100% | 109.3 KiB/s | 27.7 KiB | 00m00s [ 91/162] pyproject-srpm-macros-0:1.16. 100% | 55.5 KiB/s | 14.0 KiB | 00m00s [ 92/162] qt6-srpm-macros-0:6.8.1-5.fc4 100% | 36.9 KiB/s | 9.3 KiB | 00m00s [ 93/162] ansible-srpm-macros-0:1-17.1. 100% | 80.3 KiB/s | 20.3 KiB | 00m00s [ 94/162] dwz-0:0.15-9.fc42.s390x 100% | 562.1 KiB/s | 143.3 KiB | 00m00s [ 95/162] fonts-srpm-macros-1:2.0.5-21. 100% | 106.7 KiB/s | 27.1 KiB | 00m00s [ 96/162] fpc-srpm-macros-0:1.3-14.fc42 100% | 31.7 KiB/s | 8.0 KiB | 00m00s [ 97/162] ghc-srpm-macros-0:1.9.2-2.fc4 100% | 36.3 KiB/s | 9.2 KiB | 00m00s [ 98/162] gnat-srpm-macros-0:6-7.fc42.n 100% | 34.0 KiB/s | 8.6 KiB | 00m00s [ 99/162] kernel-srpm-macros-0:1.0-25.f 100% | 39.0 KiB/s | 9.9 KiB | 00m00s [100/162] lua-srpm-macros-0:1-15.fc42.n 100% | 35.4 KiB/s | 8.9 KiB | 00m00s [101/162] ocaml-srpm-macros-0:10-4.fc42 100% | 36.2 KiB/s | 9.2 KiB | 00m00s [102/162] openblas-srpm-macros-0:2-19.f 100% | 30.7 KiB/s | 7.8 KiB | 00m00s [103/162] package-notes-srpm-macros-0:0 100% | 36.7 KiB/s | 9.3 KiB | 00m00s [104/162] perl-srpm-macros-0:1-57.fc42. 100% | 33.6 KiB/s | 8.5 KiB | 00m00s [105/162] python-srpm-macros-0:3.13-4.f 100% | 90.8 KiB/s | 23.0 KiB | 00m00s [106/162] qt5-srpm-macros-0:5.15.15-1.f 100% | 35.3 KiB/s | 8.9 KiB | 00m00s [107/162] rust-srpm-macros-0:26.3-4.fc4 100% | 46.1 KiB/s | 11.7 KiB | 00m00s [108/162] zig-srpm-macros-0:1-4.fc42.no 100% | 32.6 KiB/s | 8.2 KiB | 00m00s [109/162] zip-0:3.0-43.fc42.s390x 100% | 1.1 MiB/s | 280.3 KiB | 00m00s [110/162] ed-0:1.21-2.fc42.s390x 100% | 323.0 KiB/s | 83.3 KiB | 00m00s [111/162] libattr-0:2.5.2-5.fc42.s390x 100% | 66.9 KiB/s | 17.0 KiB | 00m00s [112/162] libtirpc-0:1.3.6-1.rc3.fc42.2 100% | 375.9 KiB/s | 95.9 KiB | 00m00s [113/162] openssl-libs-1:3.2.2-14.fc42. 100% | 7.8 MiB/s | 2.0 MiB | 00m00s [114/162] gdbm-1:1.23-9.fc42.s390x 100% | 578.9 KiB/s | 149.3 KiB | 00m00s [115/162] gdbm-libs-1:1.23-9.fc42.s390x 100% | 227.6 KiB/s | 57.8 KiB | 00m00s [116/162] libpwquality-0:1.4.5-12.fc42. 100% | 421.6 KiB/s | 107.9 KiB | 00m00s [117/162] crypto-policies-0:20250124-1. 100% | 289.9 KiB/s | 73.6 KiB | 00m00s [118/162] ca-certificates-0:2024.2.69_v 100% | 3.6 MiB/s | 945.0 KiB | 00m00s [119/162] krb5-libs-0:1.21.3-5.fc42.s39 100% | 2.9 MiB/s | 775.4 KiB | 00m00s [120/162] libcom_err-0:1.47.2-3.fc42.s3 100% | 105.4 KiB/s | 26.9 KiB | 00m00s [121/162] pcre2-0:10.44-1.fc42.2.s390x 100% | 1.0 MiB/s | 258.8 KiB | 00m00s [122/162] pcre2-syntax-0:10.44-1.fc42.2 100% | 589.6 KiB/s | 149.8 KiB | 00m00s [123/162] cracklib-0:2.9.11-7.fc42.s390 100% | 327.0 KiB/s | 83.1 KiB | 00m00s [124/162] libxml2-0:2.12.9-2.fc42.s390x 100% | 2.7 MiB/s | 702.9 KiB | 00m00s [125/162] lz4-libs-0:1.10.0-2.fc42.s390 100% | 370.9 KiB/s | 95.0 KiB | 00m00s [126/162] keyutils-libs-0:1.6.3-5.fc42. 100% | 123.1 KiB/s | 31.3 KiB | 00m00s [127/162] libverto-0:0.3.2-10.fc42.s390 100% | 81.2 KiB/s | 20.6 KiB | 00m00s [128/162] basesystem-0:11-22.fc42.noarc 100% | 28.8 KiB/s | 7.3 KiB | 00m00s [129/162] gmp-1:6.3.0-2.fc41.s390x 100% | 1.2 MiB/s | 326.3 KiB | 00m00s [130/162] mpfr-0:4.2.1-6.fc42.s390x 100% | 1.1 MiB/s | 300.0 KiB | 00m00s [131/162] elfutils-default-yama-scope-0 100% | 50.0 KiB/s | 12.6 KiB | 00m00s [132/162] json-c-0:0.18-2.fc42.s390x 100% | 174.0 KiB/s | 44.5 KiB | 00m00s [133/162] libstdc++-0:15.0.1-0.6.fc42.s 100% | 3.7 MiB/s | 980.7 KiB | 00m00s [134/162] libffi-0:3.4.6-5.fc42.s390x 100% | 142.3 KiB/s | 36.1 KiB | 00m00s [135/162] p11-kit-0:0.25.5-5.fc42.s390x 100% | 2.0 MiB/s | 516.0 KiB | 00m00s [136/162] p11-kit-trust-0:0.25.5-5.fc42 100% | 555.8 KiB/s | 141.2 KiB | 00m00s [137/162] systemd-rpm-macros-0:257.2-17 100% | 137.5 KiB/s | 34.9 KiB | 00m00s [138/162] systemd-pam-0:257.2-17.fc42.s 100% | 1.6 MiB/s | 413.6 KiB | 00m00s [139/162] systemd-0:257.2-17.fc42.s390x 100% | 9.0 MiB/s | 5.7 MiB | 00m01s [140/162] libtasn1-0:4.19.0-11.fc42.s39 100% | 302.1 KiB/s | 77.6 KiB | 00m00s [141/162] dbus-1:1.16.0-3.fc42.s390x 100% | 30.3 KiB/s | 7.7 KiB | 00m00s [142/162] libseccomp-0:2.5.5-2.fc41.s39 100% | 281.2 KiB/s | 72.0 KiB | 00m00s [143/162] dbus-broker-0:36-5.fc42.s390x 100% | 671.3 KiB/s | 171.8 KiB | 00m00s [144/162] expat-0:2.6.4-2.fc42.s390x 100% | 457.5 KiB/s | 117.6 KiB | 00m00s [145/162] dbus-common-1:1.16.0-3.fc42.n 100% | 56.9 KiB/s | 14.5 KiB | 00m00s [146/162] fedora-release-0:42-0.16.noar 100% | 53.3 KiB/s | 13.4 KiB | 00m00s [147/162] fedora-release-identity-basic 100% | 56.3 KiB/s | 14.2 KiB | 00m00s [148/162] libcurl-0:8.11.1-3.fc42.s390x 100% | 1.5 MiB/s | 382.3 KiB | 00m00s [149/162] libnghttp2-0:1.64.0-3.fc42.s3 100% | 309.6 KiB/s | 79.2 KiB | 00m00s [150/162] libssh-0:0.11.1-4.fc42.s390x 100% | 898.5 KiB/s | 229.1 KiB | 00m00s [151/162] libssh-config-0:0.11.1-4.fc42 100% | 35.6 KiB/s | 9.0 KiB | 00m00s [152/162] xxhash-libs-0:0.8.3-2.fc42.s3 100% | 144.3 KiB/s | 36.6 KiB | 00m00s [153/162] openldap-0:2.6.9-3.fc42.s390x 100% | 1.0 MiB/s | 261.4 KiB | 00m00s [154/162] libbrotli-0:1.1.0-6.fc42.s390 100% | 1.4 MiB/s | 380.0 KiB | 00m00s [155/162] libpsl-0:0.21.5-5.fc42.s390x 100% | 252.0 KiB/s | 64.3 KiB | 00m00s [156/162] libidn2-0:2.3.7-3.fc42.s390x 100% | 438.2 KiB/s | 112.2 KiB | 00m00s [157/162] gdb-minimal-0:15.2-7.fc42.s39 100% | 2.7 MiB/s | 4.6 MiB | 00m02s [158/162] libevent-0:2.1.12-15.fc42.s39 100% | 1.0 MiB/s | 259.4 KiB | 00m00s [159/162] cyrus-sasl-lib-0:2.1.28-30.fc 100% | 3.1 MiB/s | 824.0 KiB | 00m00s [160/162] libtool-ltdl-0:2.5.4-4.fc42.s 100% | 142.3 KiB/s | 36.3 KiB | 00m00s [161/162] publicsuffix-list-dafsa-0:202 100% | 232.5 KiB/s | 58.8 KiB | 00m00s [162/162] libunistring-0:1.1-9.fc42.s39 100% | 1.1 MiB/s | 554.4 KiB | 00m01s -------------------------------------------------------------------------------- [162/162] Total 100% | 3.7 MiB/s | 60.1 MiB | 00m16s Running transaction [ 1/164] Verify package files 100% | 771.0 B/s | 162.0 B | 00m00s >>> Running pre-transaction scriptlet: filesystem-0:3.18-36.fc42.s390x >>> Finished pre-transaction scriptlet: filesystem-0:3.18-36.fc42.s390x >>> [RPM] /var/lib/mock/fedora-41-s390x-1738534918.517919/root/var/cache/dnf/cop [ 2/164] Prepare transaction 100% | 2.8 KiB/s | 162.0 B | 00m00s [ 3/164] Installing libgcc-0:15.0.1-0. 100% | 166.9 MiB/s | 170.9 KiB | 00m00s [ 4/164] Installing publicsuffix-list- 100% | 0.0 B/s | 69.2 KiB | 00m00s [ 5/164] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 6/164] Installing fedora-release-ide 100% | 0.0 B/s | 976.0 B | 00m00s [ 7/164] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.4 KiB | 00m00s [ 8/164] Installing fedora-gpg-keys-0: 100% | 42.7 MiB/s | 174.8 KiB | 00m00s [ 9/164] Installing fedora-repos-0:42- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/164] Installing fedora-release-com 100% | 23.6 MiB/s | 24.1 KiB | 00m00s [ 11/164] Installing fedora-release-0:4 100% | 0.0 B/s | 124.0 B | 00m00s [ 12/164] Installing setup-0:2.15.0-10. 100% | 50.7 MiB/s | 726.5 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 13/164] Installing filesystem-0:3.18- 100% | 2.5 MiB/s | 212.4 KiB | 00m00s [ 14/164] Installing basesystem-0:11-22 100% | 0.0 B/s | 124.0 B | 00m00s [ 15/164] Installing pcre2-syntax-0:10. 100% | 248.1 MiB/s | 254.1 KiB | 00m00s [ 16/164] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [ 17/164] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [ 18/164] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [ 19/164] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [ 20/164] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [ 21/164] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.2 KiB | 00m00s [ 22/164] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [ 23/164] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [ 24/164] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 25/164] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [ 26/164] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [ 27/164] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 732.0 B | 00m00s [ 28/164] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [ 29/164] Installing ncurses-base-0:6.5 100% | 86.0 MiB/s | 352.2 KiB | 00m00s [ 30/164] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 31/164] Installing ncurses-libs-0:6.5 100% | 167.8 MiB/s | 1.0 MiB | 00m00s [ 32/164] Installing glibc-0:2.40.9000- 100% | 151.3 MiB/s | 5.1 MiB | 00m00s [ 33/164] Installing bash-0:5.2.37-1.fc 100% | 240.1 MiB/s | 8.4 MiB | 00m00s [ 34/164] Installing glibc-common-0:2.4 100% | 60.0 MiB/s | 1.1 MiB | 00m00s [ 35/164] Installing glibc-gconv-extra- 100% | 227.8 MiB/s | 6.8 MiB | 00m00s [ 36/164] Installing zlib-ng-compat-0:2 100% | 107.4 MiB/s | 109.9 KiB | 00m00s [ 37/164] Installing xz-libs-1:5.6.3-3. 100% | 214.0 MiB/s | 219.1 KiB | 00m00s [ 38/164] Installing bzip2-libs-0:1.0.8 100% | 87.4 MiB/s | 89.5 KiB | 00m00s [ 39/164] Installing libuuid-0:2.40.4-2 100% | 0.0 B/s | 34.1 KiB | 00m00s [ 40/164] Installing libblkid-0:2.40.4- 100% | 272.9 MiB/s | 279.4 KiB | 00m00s [ 41/164] Installing libxcrypt-0:4.4.38 100% | 268.0 MiB/s | 274.4 KiB | 00m00s [ 42/164] Installing readline-0:8.2-12. 100% | 265.0 MiB/s | 542.7 KiB | 00m00s [ 43/164] Installing popt-0:1.19-8.fc42 100% | 71.8 MiB/s | 147.1 KiB | 00m00s [ 44/164] Installing libzstd-0:1.5.6-3. 100% | 282.8 MiB/s | 868.7 KiB | 00m00s [ 45/164] Installing elfutils-libelf-0: 100% | 294.4 MiB/s | 1.2 MiB | 00m00s [ 46/164] Installing gmp-1:6.3.0-2.fc41 100% | 251.4 MiB/s | 772.2 KiB | 00m00s [ 47/164] Installing libstdc++-0:15.0.1 100% | 314.1 MiB/s | 3.1 MiB | 00m00s [ 48/164] Installing libeconf-0:0.7.5-2 100% | 64.4 MiB/s | 65.9 KiB | 00m00s [ 49/164] Installing libcap-ng-0:0.8.5- 100% | 60.8 MiB/s | 62.3 KiB | 00m00s [ 50/164] Installing audit-libs-0:4.0.3 100% | 178.2 MiB/s | 365.0 KiB | 00m00s [ 51/164] Installing pam-libs-0:1.7.0-4 100% | 121.5 MiB/s | 124.5 KiB | 00m00s [ 52/164] Installing libcap-0:2.73-2.fc 100% | 16.1 MiB/s | 214.0 KiB | 00m00s [ 53/164] Installing systemd-libs-0:257 100% | 252.0 MiB/s | 2.3 MiB | 00m00s [ 54/164] Installing libattr-0:2.5.2-5. 100% | 0.0 B/s | 23.9 KiB | 00m00s [ 55/164] Installing libacl-0:2.3.2-3.f 100% | 0.0 B/s | 34.9 KiB | 00m00s [ 56/164] Installing gdbm-libs-1:1.23-9 100% | 124.1 MiB/s | 127.1 KiB | 00m00s [ 57/164] Installing mpfr-0:4.2.1-6.fc4 100% | 228.0 MiB/s | 700.3 KiB | 00m00s [ 58/164] Installing gawk-0:5.3.1-1.fc4 100% | 91.9 MiB/s | 1.7 MiB | 00m00s [ 59/164] Installing dwz-0:0.15-9.fc42. 100% | 23.4 MiB/s | 311.8 KiB | 00m00s [ 60/164] Installing libfdisk-0:2.40.4- 100% | 189.3 MiB/s | 387.8 KiB | 00m00s [ 61/164] Installing unzip-0:6.0-66.fc4 100% | 27.7 MiB/s | 397.0 KiB | 00m00s [ 62/164] Installing file-libs-0:5.45-9 100% | 621.3 MiB/s | 9.9 MiB | 00m00s [ 63/164] Installing file-0:5.45-9.fc42 100% | 5.5 MiB/s | 100.6 KiB | 00m00s [ 64/164] Installing crypto-policies-0: 100% | 32.0 MiB/s | 163.7 KiB | 00m00s [ 65/164] Installing libsmartcols-0:2.4 100% | 180.9 MiB/s | 185.3 KiB | 00m00s [ 66/164] Installing libsepol-0:3.8-1.f 100% | 207.6 MiB/s | 850.5 KiB | 00m00s [ 67/164] Installing lua-libs-0:5.4.7-2 100% | 155.3 MiB/s | 318.0 KiB | 00m00s [ 68/164] Installing alternatives-0:1.3 100% | 4.8 MiB/s | 63.5 KiB | 00m00s [ 69/164] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 60.0 KiB | 00m00s [ 70/164] Installing pcre2-0:10.44-1.fc 100% | 329.1 MiB/s | 674.0 KiB | 00m00s [ 71/164] Installing libselinux-0:3.8-1 100% | 201.4 MiB/s | 206.2 KiB | 00m00s [ 72/164] Installing grep-0:3.11-10.fc4 100% | 63.4 MiB/s | 1.0 MiB | 00m00s [ 73/164] Installing sed-0:4.9-4.fc42.s 100% | 56.8 MiB/s | 873.2 KiB | 00m00s [ 74/164] Installing findutils-1:4.10.0 100% | 104.9 MiB/s | 1.9 MiB | 00m00s [ 75/164] Installing libmount-0:2.40.4- 100% | 181.9 MiB/s | 372.6 KiB | 00m00s [ 76/164] Installing util-linux-core-0: 100% | 76.4 MiB/s | 1.4 MiB | 00m00s [ 77/164] Installing xz-1:5.6.3-3.fc42. 100% | 72.5 MiB/s | 1.2 MiB | 00m00s [ 78/164] Installing lz4-libs-0:1.10.0- 100% | 193.6 MiB/s | 198.3 KiB | 00m00s [ 79/164] Installing libffi-0:3.4.6-5.f 100% | 61.7 MiB/s | 63.2 KiB | 00m00s [ 80/164] Installing libtasn1-0:4.19.0- 100% | 180.8 MiB/s | 185.2 KiB | 00m00s [ 81/164] Installing p11-kit-0:0.25.5-5 100% | 118.6 MiB/s | 2.5 MiB | 00m00s [ 82/164] Installing libunistring-0:1.1 100% | 294.2 MiB/s | 1.8 MiB | 00m00s [ 83/164] Installing libidn2-0:2.3.7-3. 100% | 161.5 MiB/s | 330.7 KiB | 00m00s [ 84/164] Installing libpsl-0:0.21.5-5. 100% | 0.0 B/s | 73.3 KiB | 00m00s [ 85/164] Installing p11-kit-trust-0:0. 100% | 22.7 MiB/s | 464.6 KiB | 00m00s [ 86/164] Installing zstd-0:1.5.6-3.fc4 100% | 101.7 MiB/s | 1.8 MiB | 00m00s [ 87/164] Installing tar-2:1.35-5.fc42. 100% | 143.8 MiB/s | 3.0 MiB | 00m00s [ 88/164] Installing libsemanage-0:3.8- 100% | 153.2 MiB/s | 313.7 KiB | 00m00s [ 89/164] Installing shadow-utils-2:4.1 100% | 131.7 MiB/s | 4.1 MiB | 00m00s [ 90/164] Installing zip-0:3.0-43.fc42. 100% | 51.2 MiB/s | 733.5 KiB | 00m00s [ 91/164] Installing gdbm-1:1.23-9.fc42 100% | 33.2 MiB/s | 476.2 KiB | 00m00s [ 92/164] Installing cyrus-sasl-lib-0:2 100% | 118.4 MiB/s | 2.4 MiB | 00m00s [ 93/164] Installing bzip2-0:1.0.8-20.f 100% | 6.9 MiB/s | 91.4 KiB | 00m00s [ 94/164] Installing libxml2-0:2.12.9-2 100% | 103.3 MiB/s | 1.9 MiB | 00m00s [ 95/164] Installing sqlite-libs-0:3.47 100% | 273.6 MiB/s | 1.6 MiB | 00m00s [ 96/164] Installing add-determinism-0: 100% | 150.5 MiB/s | 3.5 MiB | 00m00s [ 97/164] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 98/164] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [ 99/164] Installing ed-0:1.21-2.fc42.s 100% | 12.1 MiB/s | 148.6 KiB | 00m00s [100/164] Installing patch-0:2.7.6-26.f 100% | 21.9 MiB/s | 291.7 KiB | 00m00s [101/164] Installing elfutils-default-y 100% | 510.7 KiB/s | 2.0 KiB | 00m00s [102/164] Installing elfutils-libs-0:0. 100% | 185.5 MiB/s | 759.7 KiB | 00m00s [103/164] Installing dbus-common-1:1.16 100% | 2.6 MiB/s | 13.6 KiB | 00m00s [104/164] Installing cpio-0:2.15-2.fc41 100% | 62.2 MiB/s | 1.1 MiB | 00m00s [105/164] Installing diffutils-0:3.10-9 100% | 89.1 MiB/s | 1.6 MiB | 00m00s [106/164] Installing libgomp-0:15.0.1-0 100% | 264.0 MiB/s | 540.6 KiB | 00m00s [107/164] Installing jansson-0:2.14-2.f 100% | 88.1 MiB/s | 90.2 KiB | 00m00s [108/164] Installing libpkgconf-0:2.3.0 100% | 80.9 MiB/s | 82.9 KiB | 00m00s [109/164] Installing pkgconf-0:2.3.0-2. 100% | 7.4 MiB/s | 90.7 KiB | 00m00s [110/164] Installing pkgconf-pkg-config 100% | 147.8 KiB/s | 1.8 KiB | 00m00s [111/164] Installing keyutils-libs-0:1. 100% | 0.0 B/s | 51.5 KiB | 00m00s [112/164] Installing libverto-0:0.3.2-1 100% | 0.0 B/s | 26.9 KiB | 00m00s [113/164] Installing json-c-0:0.18-2.fc 100% | 0.0 B/s | 83.6 KiB | 00m00s [114/164] Installing libseccomp-0:2.5.5 100% | 182.6 MiB/s | 187.0 KiB | 00m00s [115/164] Installing expat-0:2.6.4-2.fc 100% | 12.0 MiB/s | 306.4 KiB | 00m00s [116/164] Installing dbus-broker-0:36-5 100% | 18.0 MiB/s | 388.0 KiB | 00m00s [117/164] Installing dbus-1:1.16.0-3.fc 100% | 0.0 B/s | 124.0 B | 00m00s [118/164] Installing libnghttp2-0:1.64. 100% | 170.9 MiB/s | 175.0 KiB | 00m00s [119/164] Installing xxhash-libs-0:0.8. 100% | 0.0 B/s | 67.1 KiB | 00m00s [120/164] Installing libbrotli-0:1.1.0- 100% | 222.4 MiB/s | 911.0 KiB | 00m00s [121/164] Installing libtool-ltdl-0:2.5 100% | 69.2 MiB/s | 70.9 KiB | 00m00s [122/164] Installing coreutils-common-0 100% | 338.0 MiB/s | 11.2 MiB | 00m00s [123/164] Installing openssl-libs-1:3.2 100% | 290.1 MiB/s | 6.1 MiB | 00m00s [124/164] Installing coreutils-0:9.6-1. 100% | 162.3 MiB/s | 5.8 MiB | 00m00s [125/164] Installing ca-certificates-0: 100% | 1.7 MiB/s | 2.4 MiB | 00m01s [126/164] Installing krb5-libs-0:1.21.3 100% | 219.0 MiB/s | 2.4 MiB | 00m00s [127/164] Installing libarchive-0:3.7.7 100% | 248.2 MiB/s | 1.0 MiB | 00m00s [128/164] Installing gzip-0:1.13-3.fc42 100% | 26.2 MiB/s | 402.1 KiB | 00m00s [129/164] Installing authselect-libs-0: 100% | 162.6 MiB/s | 832.3 KiB | 00m00s [130/164] Installing cracklib-0:2.9.11- 100% | 15.7 MiB/s | 240.8 KiB | 00m00s [131/164] Installing libpwquality-0:1.4 100% | 26.9 MiB/s | 412.7 KiB | 00m00s [132/164] Installing libtirpc-0:1.3.6-1 100% | 103.6 MiB/s | 212.2 KiB | 00m00s [133/164] Installing pam-0:1.7.0-4.fc42 100% | 66.7 MiB/s | 1.6 MiB | 00m00s [134/164] Installing util-linux-0:2.40. 100% | 89.1 MiB/s | 3.3 MiB | 00m00s [135/164] Installing systemd-pam-0:257. 100% | 161.7 MiB/s | 1.1 MiB | 00m00s [136/164] Installing systemd-0:257.2-17 100% | 106.9 MiB/s | 17.3 MiB | 00m00s >>> Running post-install scriptlet: systemd-0:257.2-17.fc42.s390x >>> Finished post-install scriptlet: systemd-0:257.2-17.fc42.s390x >>> Scriptlet output: >>> Creating group 'systemd-journal' with GID 190. >>> Creating group 'systemd-oom' with GID 999. >>> Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 999 and >>> [137/164] Installing libssh-0:0.11.1-4. 100% | 189.9 MiB/s | 583.3 KiB | 00m00s [138/164] Installing rpm-sequoia-0:1.7. 100% | 287.2 MiB/s | 3.2 MiB | 00m00s [139/164] Installing rpm-libs-0:4.20.0- 100% | 261.3 MiB/s | 802.7 KiB | 00m00s [140/164] Installing rpm-build-libs-0:4 100% | 210.1 MiB/s | 215.1 KiB | 00m00s [141/164] Installing libevent-0:2.1.12- 100% | 298.8 MiB/s | 917.8 KiB | 00m00s [142/164] Installing openldap-0:2.6.9-3 100% | 218.9 MiB/s | 672.5 KiB | 00m00s [143/164] Installing libcurl-0:8.11.1-3 100% | 212.6 MiB/s | 870.8 KiB | 00m00s [144/164] Installing elfutils-debuginfo 100% | 5.8 MiB/s | 77.8 KiB | 00m00s [145/164] Installing elfutils-0:0.192-8 100% | 141.6 MiB/s | 3.0 MiB | 00m00s [146/164] Installing binutils-0:2.43.50 100% | 289.6 MiB/s | 27.2 MiB | 00m00s [147/164] Installing gdb-minimal-0:15.2 100% | 248.9 MiB/s | 14.9 MiB | 00m00s [148/164] Installing debugedit-0:5.1-4. 100% | 14.9 MiB/s | 198.6 KiB | 00m00s [149/164] Installing curl-0:8.11.1-3.fc 100% | 22.4 MiB/s | 480.9 KiB | 00m00s [150/164] Installing rpm-0:4.20.0-8.fc4 100% | 88.5 MiB/s | 2.5 MiB | 00m00s [151/164] Installing efi-srpm-macros-0: 100% | 0.0 B/s | 41.1 KiB | 00m00s [152/164] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [153/164] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [154/164] Installing forge-srpm-macros- 100% | 0.0 B/s | 40.3 KiB | 00m00s [155/164] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 62.0 KiB | 00m00s [156/164] Installing fonts-srpm-macros- 100% | 0.0 B/s | 57.0 KiB | 00m00s [157/164] Installing python-srpm-macros 100% | 0.0 B/s | 52.2 KiB | 00m00s [158/164] Installing redhat-rpm-config- 100% | 94.5 MiB/s | 193.5 KiB | 00m00s [159/164] Installing rpm-build-0:4.20.0 100% | 12.0 MiB/s | 172.1 KiB | 00m00s [160/164] Installing pyproject-srpm-mac 100% | 0.0 B/s | 2.5 KiB | 00m00s [161/164] Installing authselect-0:1.5.0 100% | 11.7 MiB/s | 156.2 KiB | 00m00s [162/164] Installing which-0:2.22-2.fc4 100% | 6.9 MiB/s | 85.1 KiB | 00m00s [163/164] Installing info-0:7.2-3.fc42. 100% | 27.7 MiB/s | 397.4 KiB | 00m00s [164/164] Installing systemd-rpm-macros 100% | 6.5 KiB/s | 11.3 KiB | 00m02s Warning: skipped OpenPGP checks for 162 packages from repositories: copr_base, http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: add-determinism-0.5.0-2.fc42.s390x alternatives-1.31-3.fc42.s390x ansible-srpm-macros-1-17.1.fc42.noarch audit-libs-4.0.3-2.fc42.s390x authselect-1.5.0-9.fc42.s390x authselect-libs-1.5.0-9.fc42.s390x basesystem-11-22.fc42.noarch bash-5.2.37-1.fc42.s390x binutils-2.43.50-12.fc42.s390x build-reproducibility-srpm-macros-0.5.0-2.fc42.noarch bzip2-1.0.8-20.fc42.s390x bzip2-libs-1.0.8-20.fc42.s390x ca-certificates-2024.2.69_v8.0.401-5.fc42.noarch coreutils-9.6-1.fc42.s390x coreutils-common-9.6-1.fc42.s390x cpio-2.15-2.fc41.s390x cracklib-2.9.11-7.fc42.s390x crypto-policies-20250124-1.git4d262e7.fc42.noarch curl-8.11.1-3.fc42.s390x cyrus-sasl-lib-2.1.28-30.fc42.s390x dbus-1.16.0-3.fc42.s390x dbus-broker-36-5.fc42.s390x dbus-common-1.16.0-3.fc42.noarch debugedit-5.1-4.fc42.s390x diffutils-3.10-9.fc42.s390x dwz-0.15-9.fc42.s390x ed-1.21-2.fc42.s390x efi-srpm-macros-6-2.fc42.noarch elfutils-0.192-8.fc42.s390x elfutils-debuginfod-client-0.192-8.fc42.s390x elfutils-default-yama-scope-0.192-8.fc42.noarch elfutils-libelf-0.192-8.fc42.s390x elfutils-libs-0.192-8.fc42.s390x expat-2.6.4-2.fc42.s390x fedora-gpg-keys-42-0.4.noarch fedora-release-42-0.16.noarch fedora-release-common-42-0.16.noarch fedora-release-identity-basic-42-0.16.noarch fedora-repos-42-0.4.noarch fedora-repos-rawhide-42-0.4.noarch file-5.45-9.fc42.s390x file-libs-5.45-9.fc42.s390x filesystem-3.18-36.fc42.s390x filesystem-srpm-macros-3.18-36.fc42.noarch findutils-4.10.0-5.fc42.s390x fonts-srpm-macros-2.0.5-21.fc42.noarch forge-srpm-macros-0.4.0-2.fc42.noarch fpc-srpm-macros-1.3-14.fc42.noarch gawk-5.3.1-1.fc42.s390x gdb-minimal-15.2-7.fc42.s390x gdbm-1.23-9.fc42.s390x gdbm-libs-1.23-9.fc42.s390x ghc-srpm-macros-1.9.2-2.fc42.noarch glibc-2.40.9000-35.fc42.s390x glibc-common-2.40.9000-35.fc42.s390x glibc-gconv-extra-2.40.9000-35.fc42.s390x glibc-minimal-langpack-2.40.9000-35.fc42.s390x gmp-6.3.0-2.fc41.s390x gnat-srpm-macros-6-7.fc42.noarch go-srpm-macros-3.6.0-6.fc42.noarch grep-3.11-10.fc42.s390x gzip-1.13-3.fc42.s390x info-7.2-3.fc42.s390x jansson-2.14-2.fc42.s390x json-c-0.18-2.fc42.s390x kernel-srpm-macros-1.0-25.fc42.noarch keyutils-libs-1.6.3-5.fc42.s390x krb5-libs-1.21.3-5.fc42.s390x libacl-2.3.2-3.fc42.s390x libarchive-3.7.7-2.fc42.s390x libattr-2.5.2-5.fc42.s390x libblkid-2.40.4-2.fc42.s390x libbrotli-1.1.0-6.fc42.s390x libcap-2.73-2.fc42.s390x libcap-ng-0.8.5-4.fc42.s390x libcom_err-1.47.2-3.fc42.s390x libcurl-8.11.1-3.fc42.s390x libeconf-0.7.5-2.fc42.s390x libevent-2.1.12-15.fc42.s390x libfdisk-2.40.4-2.fc42.s390x libffi-3.4.6-5.fc42.s390x libgcc-15.0.1-0.6.fc42.s390x libgomp-15.0.1-0.6.fc42.s390x libidn2-2.3.7-3.fc42.s390x libmount-2.40.4-2.fc42.s390x libnghttp2-1.64.0-3.fc42.s390x libpkgconf-2.3.0-2.fc42.s390x libpsl-0.21.5-5.fc42.s390x libpwquality-1.4.5-12.fc42.s390x libseccomp-2.5.5-2.fc41.s390x libselinux-3.8-1.fc42.s390x libsemanage-3.8-1.fc42.s390x libsepol-3.8-1.fc42.s390x libsmartcols-2.40.4-2.fc42.s390x libssh-0.11.1-4.fc42.s390x libssh-config-0.11.1-4.fc42.noarch libstdc++-15.0.1-0.6.fc42.s390x libtasn1-4.19.0-11.fc42.s390x libtirpc-1.3.6-1.rc3.fc42.2.s390x libtool-ltdl-2.5.4-4.fc42.s390x libunistring-1.1-9.fc42.s390x libuuid-2.40.4-2.fc42.s390x libverto-0.3.2-10.fc42.s390x libxcrypt-4.4.38-4.fc42.s390x libxml2-2.12.9-2.fc42.s390x libzstd-1.5.6-3.fc42.s390x lua-libs-5.4.7-2.fc42.s390x lua-srpm-macros-1-15.fc42.noarch lz4-libs-1.10.0-2.fc42.s390x mpfr-4.2.1-6.fc42.s390x ncurses-base-6.5-5.20250125.fc42.noarch ncurses-libs-6.5-5.20250125.fc42.s390x ocaml-srpm-macros-10-4.fc42.noarch openblas-srpm-macros-2-19.fc42.noarch openldap-2.6.9-3.fc42.s390x openssl-libs-3.2.2-14.fc42.s390x p11-kit-0.25.5-5.fc42.s390x p11-kit-trust-0.25.5-5.fc42.s390x package-notes-srpm-macros-0.5-13.fc42.noarch pam-1.7.0-4.fc42.s390x pam-libs-1.7.0-4.fc42.s390x patch-2.7.6-26.fc42.s390x pcre2-10.44-1.fc42.2.s390x pcre2-syntax-10.44-1.fc42.2.noarch perl-srpm-macros-1-57.fc42.noarch pkgconf-2.3.0-2.fc42.s390x pkgconf-m4-2.3.0-2.fc42.noarch pkgconf-pkg-config-2.3.0-2.fc42.s390x popt-1.19-8.fc42.s390x publicsuffix-list-dafsa-20250116-1.fc42.noarch pyproject-srpm-macros-1.16.4-2.fc42.noarch python-srpm-macros-3.13-4.fc42.noarch qt5-srpm-macros-5.15.15-1.fc42.noarch qt6-srpm-macros-6.8.1-5.fc42.noarch readline-8.2-12.fc42.s390x redhat-rpm-config-342-1.fc42.noarch rpm-4.20.0-8.fc42.s390x rpm-build-4.20.0-8.fc42.s390x rpm-build-libs-4.20.0-8.fc42.s390x rpm-libs-4.20.0-8.fc42.s390x rpm-sequoia-1.7.0-4.fc42.s390x rust-srpm-macros-26.3-4.fc42.noarch sed-4.9-4.fc42.s390x setup-2.15.0-10.fc42.noarch shadow-utils-4.17.0-4.fc42.s390x sqlite-libs-3.47.2-2.fc42.s390x systemd-257.2-17.fc42.s390x systemd-libs-257.2-17.fc42.s390x systemd-pam-257.2-17.fc42.s390x systemd-rpm-macros-257.2-17.fc42.noarch tar-1.35-5.fc42.s390x unzip-6.0-66.fc42.s390x util-linux-2.40.4-2.fc42.s390x util-linux-core-2.40.4-2.fc42.s390x which-2.22-2.fc42.s390x xxhash-libs-0.8.3-2.fc42.s390x xz-5.6.3-3.fc42.s390x xz-libs-5.6.3-3.fc42.s390x zig-srpm-macros-1-4.fc42.noarch zip-3.0-43.fc42.s390x zlib-ng-compat-2.2.3-2.fc42.s390x zstd-1.5.6-3.fc42.s390x Start: buildsrpm Start: rpmbuild -bs Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1737504000 Wrote: /builddir/build/SRPMS/python-imagecodecs-2024.9.22-1.fc42.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-41-s390x-1738534918.517919/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-jjoe5edh/python-imagecodecs/python-imagecodecs.spec) Config(child) 1 minutes 1 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-2024.9.22-1.fc42.src.rpm) Config(fedora-41-s390x) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-41-s390x-bootstrap-1738534918.517919/root. INFO: reusing tmpfs at /var/lib/mock/fedora-41-s390x-bootstrap-1738534918.517919/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-41-s390x-1738534918.517919/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.0-1.fc41.s390x rpm-sequoia-1.7.0-3.fc41.s390x dnf5-5.2.8.1-3.fc41.s390x dnf5-plugins-5.2.8.1-3.fc41.s390x Finish: chroot init Start: build phase for python-imagecodecs-2024.9.22-1.fc42.src.rpm Start: build setup for python-imagecodecs-2024.9.22-1.fc42.src.rpm Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1737504000 Wrote: /builddir/build/SRPMS/python-imagecodecs-2024.9.22-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 13.7 KiB/s | 5.5 KiB | 00m00s updates 100% | 15.2 KiB/s | 6.5 KiB | 00m00s Copr repository 100% | 2.7 KiB/s | 1.5 KiB | 00m01s Additional repo http_kojipkgs_fedorapr 100% | 5.9 KiB/s | 3.8 KiB | 00m01s Repositories loaded. Package Arch Version Repository Size Installing: CharLS-devel s390x 2.4.2-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 130.1 KiB blosc-devel s390x 1.21.6-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 20.9 KiB blosc2-devel s390x 2.15.2-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 149.2 KiB brotli-devel s390x 1.1.0-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 65.6 KiB bzip2-devel s390x 1.0.8-20.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 309.8 KiB cfitsio-devel s390x 4.5.0-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 517.5 KiB gcc-c++ s390x 15.0.1-0.6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 30.4 MiB giflib-devel s390x 5.2.2-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 673.9 KiB jxrlib-devel s390x 1.1-30.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 204.6 KiB lcms2-devel s390x 2.16-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 135.7 KiB libaec-devel s390x 1.1.3-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 12.5 KiB libavif-devel s390x 1.0.4-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 69.0 KiB libdeflate-devel s390x 1.23-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 25.9 KiB libheif-devel s390x 1.19.5-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 217.4 KiB libjpeg-turbo-devel s390x 3.1.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 353.9 KiB liblerc-devel s390x 4.0.0-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.3 MiB libpng-devel s390x 2:1.6.44-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 881.2 KiB libtiff-devel s390x 4.7.0-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 761.9 KiB libzstd-devel s390x 1.5.6-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 202.4 KiB lz4-devel s390x 1.10.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 102.2 KiB python3-blosc s390x 1.11.2-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 217.5 KiB python3-blosc2 s390x 2.7.1-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB python3-brotli s390x 1.1.0-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 915.7 KiB python3-cython s390x 3.0.11-2.fc42 copr_base 18.0 MiB python3-devel s390x 3.13.1-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB python3-lz4 s390x 4.3.3-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.1 MiB python3-numcodecs s390x 0.15.0-1.fc42 copr_base 1.7 MiB python3-pytest noarch 8.3.4-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 20.8 MiB python3-snappy noarch 0.7.2-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 39.4 KiB python3-tifffile noarch 2025.1.10-2.fc42 copr_base 2.8 MiB python3-zarr noarch 2.18.4-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.1 MiB python3-zstd s390x 1.5.6.1-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 33.6 KiB snappy-devel s390x 1.2.1-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 47.3 KiB xz-devel s390x 1:5.6.3-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 255.6 KiB zfp-devel s390x 1.0.1-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 480.2 KiB zlib-ng-devel s390x 2.2.3-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 103.9 KiB zopfli-devel s390x 1.0.3-12.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 15.7 KiB Installing dependencies: CharLS s390x 2.4.2-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 345.8 KiB annobin-docs noarch 12.87-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 98.6 KiB annobin-plugin-gcc s390x 12.87-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 991.5 KiB blosc s390x 1.21.6-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 101.6 KiB blosc2 s390x 2.15.2-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 563.9 KiB brotli s390x 1.1.0-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 27.4 KiB cfitsio s390x 4.5.0-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.1 MiB cmake-filesystem s390x 3.31.5-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B cpp s390x 15.0.1-0.6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 27.0 MiB flexiblas s390x 3.4.4-7.fc42 copr_base 48.5 KiB flexiblas-netlib s390x 3.4.4-7.fc42 copr_base 12.3 MiB flexiblas-openblas-openmp s390x 3.4.4-7.fc42 copr_base 39.0 KiB gcc s390x 15.0.1-0.6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 80.1 MiB gcc-plugin-annobin s390x 15.0.1-0.6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 52.8 KiB giflib s390x 5.2.2-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 119.9 KiB glibc-devel s390x 2.40.9000-35.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.6 MiB isa-l s390x 2.31.1-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 185.4 KiB jbigkit-libs s390x 2.1-31.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 116.9 KiB jxrlib s390x 1.1-30.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 770.6 KiB kernel-headers s390x 6.13.0-62.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.5 MiB lcms2 s390x 2.16-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 452.6 KiB libaec s390x 1.1.3-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 101.5 KiB libaom s390x 3.9.0-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.5 MiB libaom-devel s390x 3.9.0-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 26.8 MiB libasan s390x 15.0.1-0.6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB libatomic s390x 15.0.1-0.6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 28.3 KiB libavif s390x 1.0.4-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 195.5 KiB libb2 s390x 0.98.1-13.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 41.8 KiB libdav1d s390x 1.5.1-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 641.3 KiB libdav1d-devel s390x 1.5.1-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 41.9 KiB libdeflate s390x 1.23-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 102.3 KiB libgfortran s390x 15.0.1-0.6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.4 MiB libheif s390x 1.19.5-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.3 MiB libjpeg-turbo s390x 3.1.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 773.9 KiB liblerc s390x 4.0.0-8.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 265.2 KiB libmpc s390x 1.3.1-7.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 160.4 KiB libpng s390x 2:1.6.44-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 253.5 KiB libstdc++-devel s390x 15.0.1-0.6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 15.6 MiB libtiff s390x 4.7.0-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 657.6 KiB libubsan s390x 15.0.1-0.6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 495.6 KiB libwebp s390x 1.5.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 719.1 KiB libwebp-devel s390x 1.5.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 121.2 KiB libxcrypt-devel s390x 4.4.38-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 30.8 KiB make s390x 1:4.4.1-10.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB mpdecimal s390x 2.5.1-17.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 220.5 KiB noopenh264 s390x 2.5.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 34.7 KiB openblas s390x 0.3.29-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 111.7 KiB openblas-openmp s390x 0.3.29-1.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 15.2 MiB openjpeg s390x 2.5.3-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 483.6 KiB openjpeg-devel s390x 2.5.3-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 75.6 KiB openjpeg-tools s390x 2.5.3-6.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 192.4 KiB pyproject-rpm-macros noarch 1.16.4-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 113.0 KiB python-pip-wheel noarch 24.3.1-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB python-rpm-macros noarch 3.13-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 22.1 KiB python3 s390x 3.13.1-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 23.4 KiB python3-asciitree noarch 0.3.3-31.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 20.2 KiB python3-cffi s390x 1.17.1-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.3 MiB python3-cpuinfo noarch 9.0.0-11.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 307.9 KiB python3-cramjam s390x 2.9.1-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.8 MiB python3-deprecated noarch 1.2.15-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 53.1 KiB python3-fasteners noarch 0.19-10.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 114.5 KiB python3-iniconfig noarch 1.1.1-25.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 20.6 KiB python3-libs s390x 3.13.1-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 40.2 MiB python3-msgpack s390x 1.1.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 332.2 KiB python3-ndindex s390x 1.9.2-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB python3-numexpr s390x 2.10.2-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 798.5 KiB python3-numpy s390x 1:2.2.2-2.fc42 copr_base 36.3 MiB python3-numpy-f2py s390x 1:2.2.2-2.fc42 copr_base 2.0 MiB python3-packaging noarch 24.2-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 555.7 KiB python3-pluggy noarch 1.5.0-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 192.7 KiB python3-ply noarch 3.11-26.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 565.1 KiB python3-pycparser noarch 2.20-19.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 800.6 KiB python3-rpm-generators noarch 14-12.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 81.7 KiB python3-rpm-macros noarch 3.13-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.4 KiB python3-wrapt s390x 1.17.1-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 201.1 KiB rav1e-devel s390x 0.7.1-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 24.8 KiB rav1e-libs s390x 0.7.1-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.6 MiB snappy s390x 1.2.1-4.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 70.7 KiB svt-av1-devel s390x 2.1.0-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 77.1 KiB svt-av1-libs s390x 2.1.0-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.7 MiB tzdata noarch 2024b-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB zfp s390x 1.0.1-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 283.2 KiB zlib-ng s390x 2.2.3-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 128.5 KiB zlib-ng-compat-devel s390x 2.2.3-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 107.0 KiB zopfli s390x 1.0.3-12.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 320.0 KiB Transaction Summary: Installing: 122 packages Total size of inbound packages is 126 MiB. Need to download 126 MiB. After this operation, 405 MiB extra will be used (install 405 MiB, remove 0 B). [ 1/122] CharLS-devel-0:2.4.2-8.fc42.s 100% | 39.5 KiB/s | 30.5 KiB | 00m01s [ 2/122] blosc-devel-0:1.21.6-6.fc42.s 100% | 18.8 KiB/s | 14.6 KiB | 00m01s [ 3/122] blosc2-devel-0:2.15.2-2.fc42. 100% | 46.8 KiB/s | 41.6 KiB | 00m01s [ 4/122] brotli-devel-0:1.1.0-6.fc42.s 100% | 132.7 KiB/s | 33.8 KiB | 00m00s [ 5/122] cfitsio-devel-0:4.5.0-5.fc42. 100% | 250.1 KiB/s | 126.5 KiB | 00m01s [ 6/122] bzip2-devel-0:1.0.8-20.fc42.s 100% | 335.9 KiB/s | 213.6 KiB | 00m01s [ 7/122] jxrlib-devel-0:1.1-30.fc42.s3 100% | 151.7 KiB/s | 38.5 KiB | 00m00s [ 8/122] giflib-devel-0:5.2.2-3.fc42.s 100% | 510.9 KiB/s | 196.2 KiB | 00m00s [ 9/122] lcms2-devel-0:2.16-5.fc42.s39 100% | 123.2 KiB/s | 31.9 KiB | 00m00s [ 10/122] libaec-devel-0:1.1.3-2.fc42.s 100% | 48.2 KiB/s | 12.2 KiB | 00m00s [ 11/122] libavif-devel-0:1.0.4-8.fc42. 100% | 112.8 KiB/s | 28.9 KiB | 00m00s [ 12/122] libdeflate-devel-0:1.23-2.fc4 100% | 71.5 KiB/s | 18.2 KiB | 00m00s [ 13/122] gcc-c++-0:15.0.1-0.6.fc42.s39 100% | 9.6 MiB/s | 12.3 MiB | 00m01s [ 14/122] libheif-devel-0:1.19.5-2.fc42 100% | 186.7 KiB/s | 48.7 KiB | 00m00s [ 15/122] libjpeg-turbo-devel-0:3.1.0-2 100% | 381.1 KiB/s | 97.6 KiB | 00m00s [ 16/122] libpng-devel-2:1.6.44-2.fc42. 100% | 1.1 MiB/s | 293.0 KiB | 00m00s [ 17/122] libtiff-devel-0:4.7.0-3.fc42. 100% | 670.9 KiB/s | 256.9 KiB | 00m00s [ 18/122] libzstd-devel-0:1.5.6-3.fc42. 100% | 202.8 KiB/s | 51.7 KiB | 00m00s [ 19/122] lz4-devel-0:1.10.0-2.fc42.s39 100% | 125.8 KiB/s | 32.2 KiB | 00m00s [ 20/122] liblerc-devel-0:4.0.0-8.fc42. 100% | 3.6 MiB/s | 3.2 MiB | 00m01s [ 21/122] python3-devel-0:3.13.1-3.fc42 100% | 1.4 MiB/s | 357.8 KiB | 00m00s [ 22/122] python3-blosc-0:1.11.2-3.fc42 100% | 236.3 KiB/s | 60.5 KiB | 00m00s [ 23/122] python3-blosc2-0:2.7.1-3.fc42 100% | 1.4 MiB/s | 369.9 KiB | 00m00s [ 24/122] python3-brotli-0:1.1.0-6.fc42 100% | 995.1 KiB/s | 382.1 KiB | 00m00s [ 25/122] python3-lz4-0:4.3.3-8.fc42.s3 100% | 1.9 MiB/s | 501.9 KiB | 00m00s [ 26/122] python3-snappy-0:0.7.2-4.fc42 100% | 95.0 KiB/s | 24.3 KiB | 00m00s [ 27/122] python3-numcodecs-0:0.15.0-1. 100% | 706.2 KiB/s | 446.3 KiB | 00m01s [ 28/122] python3-cython-0:3.0.11-2.fc4 100% | 2.4 MiB/s | 3.8 MiB | 00m02s [ 29/122] python3-tifffile-0:2025.1.10- 100% | 1.3 MiB/s | 500.9 KiB | 00m00s [ 30/122] python3-zarr-0:2.18.4-2.fc42. 100% | 2.0 MiB/s | 537.3 KiB | 00m00s [ 31/122] python3-zstd-0:1.5.6.1-2.fc42 100% | 75.2 KiB/s | 19.8 KiB | 00m00s [ 32/122] snappy-devel-0:1.2.1-4.fc42.s 100% | 88.6 KiB/s | 22.5 KiB | 00m00s [ 33/122] xz-devel-1:5.6.3-3.fc42.s390x 100% | 243.1 KiB/s | 62.2 KiB | 00m00s [ 34/122] zfp-devel-0:1.0.1-5.fc42.s390 100% | 279.1 KiB/s | 71.5 KiB | 00m00s [ 35/122] zlib-ng-devel-0:2.2.3-2.fc42. 100% | 149.0 KiB/s | 37.7 KiB | 00m00s [ 36/122] zopfli-devel-0:1.0.3-12.fc42. 100% | 51.3 KiB/s | 13.1 KiB | 00m00s [ 37/122] CharLS-0:2.4.2-8.fc42.s390x 100% | 479.8 KiB/s | 123.3 KiB | 00m00s [ 38/122] blosc-0:1.21.6-6.fc42.s390x 100% | 197.5 KiB/s | 50.2 KiB | 00m00s [ 39/122] blosc2-0:2.15.2-2.fc42.s390x 100% | 866.2 KiB/s | 222.6 KiB | 00m00s [ 40/122] brotli-0:1.1.0-6.fc42.s390x 100% | 78.4 KiB/s | 20.1 KiB | 00m00s [ 41/122] cfitsio-0:4.5.0-5.fc42.s390x 100% | 1.3 MiB/s | 681.4 KiB | 00m01s [ 42/122] giflib-0:5.2.2-3.fc42.s390x 100% | 213.8 KiB/s | 54.7 KiB | 00m00s [ 43/122] libstdc++-devel-0:15.0.1-0.6. 100% | 4.2 MiB/s | 2.7 MiB | 00m01s [ 44/122] jxrlib-0:1.1-30.fc42.s390x 100% | 1.8 MiB/s | 471.2 KiB | 00m00s [ 45/122] lcms2-0:2.16-5.fc42.s390x 100% | 730.6 KiB/s | 188.5 KiB | 00m00s [ 46/122] libaec-0:1.1.3-2.fc42.s390x 100% | 156.0 KiB/s | 40.3 KiB | 00m00s [ 47/122] libavif-0:1.0.4-8.fc42.s390x 100% | 383.2 KiB/s | 98.1 KiB | 00m00s [ 48/122] gcc-0:15.0.1-0.6.fc42.s390x 100% | 23.8 MiB/s | 31.6 MiB | 00m01s [ 49/122] libdeflate-0:1.23-2.fc42.s390 100% | 246.7 KiB/s | 63.9 KiB | 00m00s [ 50/122] libheif-0:1.19.5-2.fc42.s390x 100% | 1.8 MiB/s | 484.7 KiB | 00m00s [ 51/122] libjpeg-turbo-0:3.1.0-2.fc42. 100% | 971.3 KiB/s | 252.5 KiB | 00m00s [ 52/122] liblerc-0:4.0.0-8.fc42.s390x 100% | 446.0 KiB/s | 114.2 KiB | 00m00s [ 53/122] libpng-2:1.6.44-2.fc42.s390x 100% | 507.5 KiB/s | 130.4 KiB | 00m00s [ 54/122] libtiff-0:4.7.0-3.fc42.s390x 100% | 913.6 KiB/s | 238.5 KiB | 00m00s [ 55/122] python3-0:3.13.1-3.fc42.s390x 100% | 107.5 KiB/s | 27.7 KiB | 00m00s [ 56/122] snappy-0:1.2.1-4.fc42.s390x 100% | 157.1 KiB/s | 40.7 KiB | 00m00s [ 57/122] zfp-0:1.0.1-5.fc42.s390x 100% | 248.0 KiB/s | 94.7 KiB | 00m00s [ 58/122] python3-libs-0:3.13.1-3.fc42. 100% | 16.8 MiB/s | 8.8 MiB | 00m01s [ 59/122] zlib-ng-0:2.2.3-2.fc42.s390x 100% | 289.8 KiB/s | 74.5 KiB | 00m00s [ 60/122] zopfli-0:1.0.3-12.fc42.s390x 100% | 584.2 KiB/s | 150.1 KiB | 00m00s [ 61/122] cmake-filesystem-0:3.31.5-1.f 100% | 68.6 KiB/s | 17.6 KiB | 00m00s [ 62/122] cpp-0:15.0.1-0.6.fc42.s390x 100% | 15.4 MiB/s | 10.1 MiB | 00m01s [ 63/122] python3-asciitree-0:0.3.3-31. 100% | 69.6 KiB/s | 18.0 KiB | 00m00s [ 64/122] python3-pytest-0:8.3.4-2.fc42 100% | 2.7 MiB/s | 2.0 MiB | 00m01s [ 65/122] python3-fasteners-0:0.19-10.f 100% | 169.1 KiB/s | 44.0 KiB | 00m00s [ 66/122] python3-cffi-0:1.17.1-2.fc42. 100% | 1.1 MiB/s | 302.4 KiB | 00m00s [ 67/122] python3-cramjam-0:2.9.1-2.fc4 100% | 5.7 MiB/s | 1.5 MiB | 00m00s [ 68/122] python3-numpy-1:2.2.2-2.fc42. 100% | 12.8 MiB/s | 6.9 MiB | 00m01s [ 69/122] python3-iniconfig-0:1.1.1-25. 100% | 70.4 KiB/s | 18.1 KiB | 00m00s [ 70/122] python3-packaging-0:24.2-3.fc 100% | 553.2 KiB/s | 143.8 KiB | 00m00s [ 71/122] python3-pluggy-0:1.5.0-2.fc42 100% | 201.4 KiB/s | 53.4 KiB | 00m00s [ 72/122] libb2-0:0.98.1-13.fc42.s390x 100% | 103.3 KiB/s | 26.8 KiB | 00m00s [ 73/122] mpdecimal-0:2.5.1-17.fc42.s39 100% | 388.2 KiB/s | 99.8 KiB | 00m00s [ 74/122] python-pip-wheel-0:24.3.1-2.f 100% | 4.6 MiB/s | 1.2 MiB | 00m00s [ 75/122] tzdata-0:2024b-2.fc42.noarch 100% | 1.6 MiB/s | 428.9 KiB | 00m00s [ 76/122] isa-l-0:2.31.1-3.fc42.s390x 100% | 325.8 KiB/s | 83.7 KiB | 00m00s [ 77/122] python3-pycparser-0:2.20-19.f 100% | 577.6 KiB/s | 150.2 KiB | 00m00s [ 78/122] python3-cpuinfo-0:9.0.0-11.fc 100% | 266.3 KiB/s | 68.7 KiB | 00m00s [ 79/122] python3-msgpack-0:1.1.0-2.fc4 100% | 423.9 KiB/s | 109.4 KiB | 00m00s [ 80/122] python3-ndindex-0:1.9.2-4.fc4 100% | 1.0 MiB/s | 263.3 KiB | 00m00s [ 81/122] python3-numexpr-0:2.10.2-2.fc 100% | 861.3 KiB/s | 224.8 KiB | 00m00s [ 82/122] libwebp-devel-0:1.5.0-2.fc42. 100% | 156.0 KiB/s | 39.6 KiB | 00m00s [ 83/122] libwebp-0:1.5.0-2.fc42.s390x 100% | 1.1 MiB/s | 283.0 KiB | 00m00s [ 84/122] zlib-ng-compat-devel-0:2.2.3- 100% | 149.8 KiB/s | 38.4 KiB | 00m00s [ 85/122] jbigkit-libs-0:2.1-31.fc42.s3 100% | 219.8 KiB/s | 55.6 KiB | 00m00s [ 86/122] libaom-0:3.9.0-5.fc42.s390x 100% | 5.3 MiB/s | 1.4 MiB | 00m00s [ 87/122] libdav1d-devel-0:1.5.1-1.fc42 100% | 76.6 KiB/s | 19.4 KiB | 00m00s [ 88/122] libdav1d-0:1.5.1-1.fc42.s390x 100% | 1.1 MiB/s | 321.0 KiB | 00m00s [ 89/122] openjpeg-devel-0:2.5.3-6.fc42 100% | 108.5 KiB/s | 27.5 KiB | 00m00s [ 90/122] libaom-devel-0:3.9.0-5.fc42.s 100% | 19.4 MiB/s | 12.8 MiB | 00m01s [ 91/122] openjpeg-0:2.5.3-6.fc42.s390x 100% | 821.1 KiB/s | 212.7 KiB | 00m00s [ 92/122] openjpeg-tools-0:2.5.3-6.fc42 100% | 351.5 KiB/s | 90.0 KiB | 00m00s [ 93/122] rav1e-devel-0:0.7.1-5.fc42.s3 100% | 61.5 KiB/s | 15.7 KiB | 00m00s [ 94/122] rav1e-libs-0:0.7.1-5.fc42.s39 100% | 3.4 MiB/s | 898.2 KiB | 00m00s [ 95/122] svt-av1-devel-0:2.1.0-5.fc42. 100% | 110.2 KiB/s | 28.5 KiB | 00m00s [ 96/122] svt-av1-libs-0:2.1.0-5.fc42.s 100% | 3.2 MiB/s | 1.2 MiB | 00m00s [ 97/122] noopenh264-0:2.5.0-2.fc42.s39 100% | 83.0 KiB/s | 21.7 KiB | 00m00s [ 98/122] libmpc-0:1.3.1-7.fc42.s390x 100% | 279.6 KiB/s | 72.7 KiB | 00m00s [ 99/122] glibc-devel-0:2.40.9000-35.fc 100% | 2.1 MiB/s | 574.1 KiB | 00m00s [100/122] libasan-0:15.0.1-0.6.fc42.s39 100% | 1.9 MiB/s | 511.8 KiB | 00m00s [101/122] libatomic-0:15.0.1-0.6.fc42.s 100% | 91.7 KiB/s | 23.6 KiB | 00m00s [102/122] libubsan-0:15.0.1-0.6.fc42.s3 100% | 858.4 KiB/s | 219.8 KiB | 00m00s [103/122] make-1:4.4.1-10.fc42.s390x 100% | 2.3 MiB/s | 596.9 KiB | 00m00s [104/122] flexiblas-netlib-0:3.4.4-7.fc 100% | 12.0 MiB/s | 3.8 MiB | 00m00s [105/122] python3-numpy-f2py-1:2.2.2-2. 100% | 2.2 MiB/s | 449.8 KiB | 00m00s [106/122] python3-deprecated-0:1.2.15-2 100% | 99.6 KiB/s | 25.5 KiB | 00m00s [107/122] flexiblas-0:3.4.4-7.fc42.s390 100% | 168.4 KiB/s | 25.9 KiB | 00m00s [108/122] libgfortran-0:15.0.1-0.6.fc42 100% | 2.3 MiB/s | 620.7 KiB | 00m00s [109/122] flexiblas-openblas-openmp-0:3 100% | 115.7 KiB/s | 17.8 KiB | 00m00s [110/122] python3-ply-0:3.11-26.fc42.no 100% | 510.7 KiB/s | 131.7 KiB | 00m00s [111/122] python3-wrapt-0:1.17.1-2.fc42 100% | 268.6 KiB/s | 69.0 KiB | 00m00s [112/122] libxcrypt-devel-0:4.4.38-4.fc 100% | 114.3 KiB/s | 29.2 KiB | 00m00s [113/122] kernel-headers-0:6.13.0-62.fc 100% | 2.9 MiB/s | 1.5 MiB | 00m01s [114/122] openblas-openmp-0:0.3.29-1.fc 100% | 11.0 MiB/s | 4.3 MiB | 00m00s [115/122] openblas-0:0.3.29-1.fc42.s390 100% | 165.5 KiB/s | 42.2 KiB | 00m00s [116/122] gcc-plugin-annobin-0:15.0.1-0 100% | 147.2 KiB/s | 37.5 KiB | 00m00s [117/122] pyproject-rpm-macros-0:1.16.4 100% | 175.6 KiB/s | 44.6 KiB | 00m00s [118/122] python-rpm-macros-0:3.13-4.fc 100% | 66.7 KiB/s | 16.9 KiB | 00m00s [119/122] python3-rpm-macros-0:3.13-4.f 100% | 46.1 KiB/s | 11.7 KiB | 00m00s [120/122] python3-rpm-generators-0:14-1 100% | 114.9 KiB/s | 29.2 KiB | 00m00s [121/122] annobin-plugin-gcc-0:12.87-1. 100% | 3.7 MiB/s | 981.6 KiB | 00m00s [122/122] annobin-docs-0:12.87-1.fc42.n 100% | 357.7 KiB/s | 91.9 KiB | 00m00s -------------------------------------------------------------------------------- [122/122] Total 100% | 9.0 MiB/s | 126.2 MiB | 00m14s Running transaction [ 1/124] Verify package files 100% | 302.0 B/s | 122.0 B | 00m00s [ 2/124] Prepare transaction 100% | 1.3 KiB/s | 122.0 B | 00m00s [ 3/124] Installing cmake-filesystem-0 100% | 7.4 MiB/s | 7.6 KiB | 00m00s [ 4/124] Installing libwebp-0:1.5.0-2. 100% | 235.4 MiB/s | 723.2 KiB | 00m00s [ 5/124] Installing zlib-ng-compat-dev 100% | 106.0 MiB/s | 108.5 KiB | 00m00s [ 6/124] Installing python-rpm-macros- 100% | 0.0 B/s | 22.8 KiB | 00m00s [ 7/124] Installing libmpc-0:1.3.1-7.f 100% | 158.1 MiB/s | 161.9 KiB | 00m00s [ 8/124] Installing svt-av1-libs-0:2.1 100% | 287.3 MiB/s | 3.7 MiB | 00m00s [ 9/124] Installing rav1e-libs-0:0.7.1 100% | 291.0 MiB/s | 2.6 MiB | 00m00s [ 10/124] Installing openjpeg-0:2.5.3-6 100% | 237.1 MiB/s | 485.6 KiB | 00m00s [ 11/124] Installing libdav1d-0:1.5.1-1 100% | 209.2 MiB/s | 642.6 KiB | 00m00s [ 12/124] Installing libaom-0:3.9.0-5.f 100% | 290.3 MiB/s | 3.5 MiB | 00m00s [ 13/124] Installing snappy-0:1.2.1-4.f 100% | 70.7 MiB/s | 72.4 KiB | 00m00s [ 14/124] Installing blosc-0:1.21.6-6.f 100% | 102.0 MiB/s | 104.5 KiB | 00m00s [ 15/124] Installing libjpeg-turbo-0:3. 100% | 252.5 MiB/s | 775.6 KiB | 00m00s [ 16/124] Installing libjpeg-turbo-deve 100% | 348.1 MiB/s | 356.5 KiB | 00m00s [ 17/124] Installing python3-rpm-macros 100% | 0.0 B/s | 6.7 KiB | 00m00s [ 18/124] Installing libwebp-devel-0:1. 100% | 122.0 MiB/s | 124.9 KiB | 00m00s [ 19/124] Installing libgfortran-0:15.0 100% | 349.0 MiB/s | 2.4 MiB | 00m00s [ 20/124] Installing zlib-ng-0:2.2.3-2. 100% | 126.8 MiB/s | 129.9 KiB | 00m00s [ 21/124] Installing blosc2-0:2.15.2-2. 100% | 184.7 MiB/s | 567.3 KiB | 00m00s [ 22/124] Installing libpng-2:1.6.44-2. 100% | 248.8 MiB/s | 254.8 KiB | 00m00s [ 23/124] Installing liblerc-0:4.0.0-8. 100% | 260.4 MiB/s | 266.7 KiB | 00m00s [ 24/124] Installing lcms2-0:2.16-5.fc4 100% | 221.8 MiB/s | 454.2 KiB | 00m00s [ 25/124] Installing liblerc-devel-0:4. 100% | 428.7 MiB/s | 4.3 MiB | 00m00s [ 26/124] Installing pyproject-rpm-macr 100% | 112.3 MiB/s | 115.0 KiB | 00m00s [ 27/124] Installing libavif-0:1.0.4-8. 100% | 64.1 MiB/s | 196.8 KiB | 00m00s [ 28/124] Installing libaom-devel-0:3.9 100% | 337.0 MiB/s | 27.0 MiB | 00m00s [ 29/124] Installing libdav1d-devel-0:1 100% | 0.0 B/s | 43.2 KiB | 00m00s [ 30/124] Installing rav1e-devel-0:0.7. 100% | 0.0 B/s | 25.4 KiB | 00m00s [ 31/124] Installing svt-av1-devel-0:2. 100% | 77.3 MiB/s | 79.1 KiB | 00m00s [ 32/124] Installing cpp-0:15.0.1-0.6.f 100% | 260.1 MiB/s | 27.0 MiB | 00m00s [ 33/124] Installing annobin-docs-0:12. 100% | 0.0 B/s | 99.8 KiB | 00m00s [ 34/124] Installing openblas-0:0.3.29- 100% | 110.8 MiB/s | 113.5 KiB | 00m00s [ 35/124] Installing openblas-openmp-0: 100% | 311.1 MiB/s | 15.2 MiB | 00m00s [ 36/124] Installing flexiblas-0:3.4.4- 100% | 0.0 B/s | 49.7 KiB | 00m00s [ 37/124] Installing flexiblas-openblas 100% | 0.0 B/s | 39.8 KiB | 00m00s [ 38/124] Installing flexiblas-netlib-0 100% | 232.9 MiB/s | 12.3 MiB | 00m00s [ 39/124] Installing kernel-headers-0:6 100% | 200.8 MiB/s | 6.6 MiB | 00m00s [ 40/124] Installing libxcrypt-devel-0: 100% | 16.2 MiB/s | 33.1 KiB | 00m00s [ 41/124] Installing glibc-devel-0:2.40 100% | 189.1 MiB/s | 2.6 MiB | 00m00s [ 42/124] Installing make-1:4.4.1-10.fc 100% | 103.0 MiB/s | 1.9 MiB | 00m00s [ 43/124] Installing libubsan-0:15.0.1- 100% | 242.4 MiB/s | 496.4 KiB | 00m00s [ 44/124] Installing libatomic-0:15.0.1 100% | 0.0 B/s | 29.2 KiB | 00m00s [ 45/124] Installing libasan-0:15.0.1-0 100% | 269.3 MiB/s | 1.6 MiB | 00m00s [ 46/124] Installing gcc-0:15.0.1-0.6.f 100% | 314.3 MiB/s | 80.2 MiB | 00m00s [ 47/124] Installing noopenh264-0:2.5.0 100% | 35.4 MiB/s | 36.2 KiB | 00m00s [ 48/124] Installing libheif-0:1.19.5-2 100% | 253.9 MiB/s | 1.3 MiB | 00m00s [ 49/124] Installing jbigkit-libs-0:2.1 100% | 116.1 MiB/s | 118.9 KiB | 00m00s [ 50/124] Installing libtiff-0:4.7.0-3. 100% | 214.8 MiB/s | 659.8 KiB | 00m00s [ 51/124] Installing openjpeg-tools-0:2 100% | 14.6 MiB/s | 194.4 KiB | 00m00s [ 52/124] Installing openjpeg-devel-0:2 100% | 75.4 MiB/s | 77.2 KiB | 00m00s [ 53/124] Installing isa-l-0:2.31.1-3.f 100% | 60.7 MiB/s | 186.5 KiB | 00m00s [ 54/124] Installing tzdata-0:2024b-2.f 100% | 58.9 MiB/s | 1.9 MiB | 00m00s [ 55/124] Installing python-pip-wheel-0 100% | 622.1 MiB/s | 1.2 MiB | 00m00s [ 56/124] Installing mpdecimal-0:2.5.1- 100% | 216.5 MiB/s | 221.6 KiB | 00m00s [ 57/124] Installing libb2-0:0.98.1-13. 100% | 10.5 MiB/s | 43.0 KiB | 00m00s [ 58/124] Installing python3-libs-0:3.1 100% | 300.5 MiB/s | 40.6 MiB | 00m00s [ 59/124] Installing python3-0:3.13.1-3 100% | 1.8 MiB/s | 25.2 KiB | 00m00s [ 60/124] Installing python3-numpy-1:2. 100% | 299.7 MiB/s | 36.6 MiB | 00m00s [ 61/124] Installing python3-numpy-f2py 100% | 90.0 MiB/s | 2.1 MiB | 00m00s [ 62/124] Installing python3-packaging- 100% | 184.9 MiB/s | 568.0 KiB | 00m00s [ 63/124] Installing python3-rpm-genera 100% | 81.0 MiB/s | 82.9 KiB | 00m00s [ 64/124] Installing python3-ndindex-0: 100% | 178.4 MiB/s | 1.1 MiB | 00m00s [ 65/124] Installing python3-numexpr-0: 100% | 197.6 MiB/s | 809.4 KiB | 00m00s [ 66/124] Installing python3-asciitree- 100% | 23.8 MiB/s | 24.3 KiB | 00m00s [ 67/124] Installing python3-fasteners- 100% | 119.5 MiB/s | 122.4 KiB | 00m00s [ 68/124] Installing python3-cramjam-0: 100% | 280.0 MiB/s | 4.8 MiB | 00m00s [ 69/124] Installing python3-iniconfig- 100% | 23.0 MiB/s | 23.5 KiB | 00m00s [ 70/124] Installing python3-pluggy-0:1 100% | 194.3 MiB/s | 199.0 KiB | 00m00s [ 71/124] Installing python3-cpuinfo-0: 100% | 23.4 MiB/s | 312.0 KiB | 00m00s [ 72/124] Installing python3-msgpack-0: 100% | 164.6 MiB/s | 337.1 KiB | 00m00s [ 73/124] Installing python3-ply-0:3.11 100% | 278.5 MiB/s | 570.3 KiB | 00m00s [ 74/124] Installing python3-pycparser- 100% | 264.3 MiB/s | 812.0 KiB | 00m00s [ 75/124] Installing python3-cffi-0:1.1 100% | 269.6 MiB/s | 1.3 MiB | 00m00s [ 76/124] Installing python3-wrapt-0:1. 100% | 101.5 MiB/s | 207.9 KiB | 00m00s [ 77/124] Installing python3-deprecated 100% | 55.2 MiB/s | 56.5 KiB | 00m00s [ 78/124] Installing python3-numcodecs- 100% | 195.9 MiB/s | 1.8 MiB | 00m00s [ 79/124] Installing zopfli-0:1.0.3-12. 100% | 24.3 MiB/s | 323.1 KiB | 00m00s [ 80/124] Installing zfp-0:1.0.1-5.fc42 100% | 21.4 MiB/s | 285.3 KiB | 00m00s [ 81/124] Installing libdeflate-0:1.23- 100% | 101.2 MiB/s | 103.7 KiB | 00m00s [ 82/124] Installing libaec-0:1.1.3-2.f 100% | 101.5 MiB/s | 103.9 KiB | 00m00s [ 83/124] Installing jxrlib-0:1.1-30.fc 100% | 53.9 MiB/s | 773.3 KiB | 00m00s [ 84/124] Installing giflib-0:5.2.2-3.f 100% | 59.3 MiB/s | 121.5 KiB | 00m00s [ 85/124] Installing libstdc++-devel-0: 100% | 357.1 MiB/s | 15.7 MiB | 00m00s [ 86/124] Installing cfitsio-0:4.5.0-5. 100% | 302.1 MiB/s | 2.1 MiB | 00m00s [ 87/124] Installing brotli-0:1.1.0-6.f 100% | 2.3 MiB/s | 28.1 KiB | 00m00s [ 88/124] Installing brotli-devel-0:1.1 100% | 0.0 B/s | 68.0 KiB | 00m00s [ 89/124] Installing CharLS-0:2.4.2-8.f 100% | 339.3 MiB/s | 347.5 KiB | 00m00s [ 90/124] Installing libzstd-devel-0:1. 100% | 198.5 MiB/s | 203.2 KiB | 00m00s [ 91/124] Installing libtiff-devel-0:4. 100% | 251.5 MiB/s | 772.7 KiB | 00m00s [ 92/124] Installing CharLS-devel-0:2.4 100% | 129.5 MiB/s | 132.6 KiB | 00m00s [ 93/124] Installing libheif-devel-0:1. 100% | 214.5 MiB/s | 219.7 KiB | 00m00s [ 94/124] Installing cfitsio-devel-0:4. 100% | 253.7 MiB/s | 519.6 KiB | 00m00s [ 95/124] Installing gcc-c++-0:15.0.1-0 100% | 271.2 MiB/s | 30.4 MiB | 00m00s [ 96/124] Installing giflib-devel-0:5.2 100% | 224.3 MiB/s | 689.1 KiB | 00m00s [ 97/124] Installing jxrlib-devel-0:1.1 100% | 201.7 MiB/s | 206.6 KiB | 00m00s [ 98/124] Installing libaec-devel-0:1.1 100% | 0.0 B/s | 13.5 KiB | 00m00s [ 99/124] Installing libdeflate-devel-0 100% | 0.0 B/s | 27.3 KiB | 00m00s [100/124] Installing zfp-devel-0:1.0.1- 100% | 240.8 MiB/s | 493.1 KiB | 00m00s [101/124] Installing zopfli-devel-0:1.0 100% | 0.0 B/s | 16.8 KiB | 00m00s [102/124] Installing python3-zarr-0:2.1 100% | 351.5 MiB/s | 3.2 MiB | 00m00s [103/124] Installing python3-snappy-0:0 100% | 42.8 MiB/s | 43.9 KiB | 00m00s [104/124] Installing python3-blosc2-0:2 100% | 180.1 MiB/s | 1.1 MiB | 00m00s [105/124] Installing python3-pytest-0:8 100% | 344.4 MiB/s | 21.0 MiB | 00m00s [106/124] Installing python3-devel-0:3. 100% | 86.4 MiB/s | 1.8 MiB | 00m00s [107/124] Installing python3-tifffile-0 100% | 141.3 MiB/s | 2.8 MiB | 00m00s [108/124] Installing python3-cython-0:3 100% | 259.3 MiB/s | 18.1 MiB | 00m00s [109/124] Installing python3-blosc-0:1. 100% | 217.9 MiB/s | 223.1 KiB | 00m00s [110/124] Installing python3-brotli-0:1 100% | 224.2 MiB/s | 918.2 KiB | 00m00s [111/124] Installing python3-lz4-0:4.3. 100% | 440.9 MiB/s | 6.2 MiB | 00m00s [112/124] Installing python3-zstd-0:1.5 100% | 35.0 MiB/s | 35.8 KiB | 00m00s [113/124] Installing gcc-plugin-annobin 100% | 4.8 MiB/s | 54.4 KiB | 00m00s [114/124] Installing annobin-plugin-gcc 100% | 80.8 MiB/s | 993.2 KiB | 00m00s [115/124] Installing libavif-devel-0:1. 100% | 68.6 MiB/s | 70.2 KiB | 00m00s [116/124] Installing lcms2-devel-0:2.16 100% | 0.0 B/s | 136.4 KiB | 00m00s [117/124] Installing libpng-devel-2:1.6 100% | 54.0 MiB/s | 885.1 KiB | 00m00s [118/124] Installing blosc2-devel-0:2.1 100% | 149.5 MiB/s | 153.1 KiB | 00m00s [119/124] Installing zlib-ng-devel-0:2. 100% | 0.0 B/s | 105.4 KiB | 00m00s [120/124] Installing blosc-devel-0:1.21 100% | 0.0 B/s | 21.6 KiB | 00m00s [121/124] Installing snappy-devel-0:1.2 100% | 0.0 B/s | 49.4 KiB | 00m00s [122/124] Installing xz-devel-1:5.6.3-3 100% | 253.3 MiB/s | 259.4 KiB | 00m00s [123/124] Installing lz4-devel-0:1.10.0 100% | 0.0 B/s | 103.2 KiB | 00m00s [124/124] Installing bzip2-devel-0:1.0. 100% | 2.9 MiB/s | 310.7 KiB | 00m00s Warning: skipped OpenPGP checks for 122 packages from repositories: copr_base, http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Finish: build setup for python-imagecodecs-2024.9.22-1.fc42.src.rpm Start: rpmbuild python-imagecodecs-2024.9.22-1.fc42.src.rpm Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1737504000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.i7YcuJ + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + test -d /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + /usr/bin/rm -rf /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kTTIan + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + cd /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + rm -rf imagecodecs-2024.9.22 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/imagecodecs-2024.9.22.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd imagecodecs-2024.9.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a /builddir/build/SOURCES/imagecodecs_distributor_setup.py . ++ grep -rl '/\* Generated by Cython' + rm -f + rm -r 3rdparty + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.sdoc85 + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + cd imagecodecs-2024.9.22 + export PYTHONPATH=. + PYTHONPATH=. + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.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-2024.9.22-build/imagecodecs-2024.9.22/.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-2024.9.22-build/imagecodecs-2024.9.22/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/python-imagecodecs-2024.9.22-1.fc42.s390x-pyproject-buildrequires Handling setuptools from build-system.requires Requirement not satisfied: setuptools Handling wheel from build-system.requires Requirement not satisfied: wheel Handling numpy from build-system.requires Requirement satisfied: numpy (installed: numpy 2.2.2) Handling Cython>=3.0.11 from build-system.requires Requirement satisfied: Cython>=3.0.11 (installed: Cython 3.0.11) Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/python-imagecodecs-2024.9.22-1.fc42.s390x-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-imagecodecs-2024.9.22-1.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: updates 100% | 9.5 KiB/s | 6.5 KiB | 00m01s Additional repo http_kojipkgs_fedorapr 100% | 5.8 KiB/s | 3.8 KiB | 00m01s fedora 100% | 8.8 KiB/s | 5.5 KiB | 00m01s Copr repository 100% | 2.6 KiB/s | 1.5 KiB | 00m01s Repositories loaded. Package "CharLS-devel-2.4.2-8.fc42.s390x" is already installed. Package "blosc-devel-1.21.6-6.fc42.s390x" is already installed. Package "blosc2-devel-2.15.2-2.fc42.s390x" is already installed. Package "brotli-devel-1.1.0-6.fc42.s390x" is already installed. Package "bzip2-devel-1.0.8-20.fc42.s390x" is already installed. Package Arch Version Repository Size Installing: python3-pip noarch 24.3.1-2.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.3 MiB python3-setuptools noarch 74.1.3-5.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.4 MiB python3-wheel noarch 1:0.45.1-3.fc42 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 541.9 KiB Transaction Summary: Installing: 3 packages Package "cfitsio-devel-4.5.0-5.fc42.s390x" is already installed. Package "gcc-c++-15.0.1-0.6.fc42.s390x" is already installed. Package "giflib-devel-5.2.2-3.fc42.s390x" is already installed. Package "jxrlib-devel-1.1-30.fc42.s390x" is already installed. Package "lcms2-devel-2.16-5.fc42.s390x" is already installed. Package "libaec-devel-1.1.3-2.fc42.s390x" is already installed. Package "libavif-devel-1.0.4-8.fc42.s390x" is already installed. Package "libdeflate-devel-1.23-2.fc42.s390x" is already installed. Package "libheif-devel-1.19.5-2.fc42.s390x" is already installed. Package "libjpeg-turbo-devel-3.1.0-2.fc42.s390x" is already installed. Package "liblerc-devel-4.0.0-8.fc42.s390x" is already installed. Package "libpng-devel-2:1.6.44-2.fc42.s390x" is already installed. Package "libtiff-devel-4.7.0-3.fc42.s390x" is already installed. Package "libzstd-devel-1.5.6-3.fc42.s390x" is already installed. Package "lz4-devel-1.10.0-2.fc42.s390x" is already installed. Package "pyproject-rpm-macros-1.16.4-2.fc42.noarch" is already installed. Package "python3-cython-3.0.11-2.fc42.s390x" is already installed. Package "python3-devel-3.13.1-3.fc42.s390x" is already installed. Package "python3-blosc-1.11.2-3.fc42.s390x" is already installed. Package "python3-blosc2-2.7.1-3.fc42.s390x" is already installed. Package "python3-brotli-1.1.0-6.fc42.s390x" is already installed. Package "python3-cython-3.0.11-2.fc42.s390x" is already installed. Package "python3-lz4-4.3.3-8.fc42.s390x" is already installed. Package "python3-numcodecs-0.15.0-1.fc42.s390x" is already installed. Package "python3-numpy-1:2.2.2-2.fc42.s390x" is already installed. Package "python3-packaging-24.2-3.fc42.noarch" is already installed. Package "python3-pytest-8.3.4-2.fc42.noarch" is already installed. Package "python3-snappy-0.7.2-4.fc42.noarch" is already installed. Package "python3-tifffile-2025.1.10-2.fc42.noarch" is already installed. Package "python3-zarr-2.18.4-2.fc42.noarch" is already installed. Package "python3-zstd-1.5.6.1-2.fc42.s390x" is already installed. Package "snappy-devel-1.2.1-4.fc42.s390x" is already installed. Package "xz-devel-1:5.6.3-3.fc42.s390x" is already installed. Package "zfp-devel-1.0.1-5.fc42.s390x" is already installed. Package "zlib-ng-devel-2.2.3-2.fc42.s390x" is already installed. Package "zopfli-devel-1.0.3-12.fc42.s390x" is already installed. Total size of inbound packages is 4 MiB. Need to download 4 MiB. After this operation, 20 MiB extra will be used (install 20 MiB, remove 0 B). [1/3] python3-wheel-1:0.45.1-3.fc42.noa 100% | 153.7 KiB/s | 159.2 KiB | 00m01s [2/3] python3-setuptools-0:74.1.3-5.fc4 100% | 1.2 MiB/s | 1.8 MiB | 00m02s [3/3] python3-pip-0:24.3.1-2.fc42.noarc 100% | 1.6 MiB/s | 2.5 MiB | 00m02s -------------------------------------------------------------------------------- [3/3] Total 100% | 2.9 MiB/s | 4.5 MiB | 00m02s Running transaction [1/5] Verify package files 100% | 200.0 B/s | 3.0 B | 00m00s [2/5] Prepare transaction 100% | 76.0 B/s | 3.0 B | 00m00s [3/5] Installing python3-wheel-1:0.45.1 100% | 30.5 MiB/s | 562.0 KiB | 00m00s [4/5] Installing python3-setuptools-0:7 100% | 203.8 MiB/s | 8.6 MiB | 00m00s [5/5] Installing python3-pip-0:24.3.1-2 100% | 133.5 MiB/s | 11.6 MiB | 00m00s Warning: skipped OpenPGP checks for 3 packages from repository: http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1737504000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.wsIdNF + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + cd imagecodecs-2024.9.22 + export PYTHONPATH=. + PYTHONPATH=. + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.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-2024.9.22-build/imagecodecs-2024.9.22/.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-2024.9.22-build/imagecodecs-2024.9.22/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/python-imagecodecs-2024.9.22-1.fc42.s390x-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 74.1.3) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.45.1) Handling numpy from build-system.requires Requirement satisfied: numpy (installed: numpy 2.2.2) Handling Cython>=3.0.11 from build-system.requires Requirement satisfied: Cython>=3.0.11 (installed: Cython 3.0.11) running egg_info writing imagecodecs.egg-info/PKG-INFO writing dependency_links to imagecodecs.egg-info/dependency_links.txt writing entry points to imagecodecs.egg-info/entry_points.txt writing requirements to imagecodecs.egg-info/requires.txt writing top-level names to imagecodecs.egg-info/top_level.txt reading manifest file 'imagecodecs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'imagecodecs/_*.c' warning: no files found matching 'imagecodecs/*.cpp' warning: no files found matching 'imagecodecs/patches/*' warning: no files found matching '3rdparty/*' warning: no files found matching '3rdparty/*/*' warning: no files found matching 'tests/*.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/bcn/*.dds' 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' running dist_info writing imagecodecs.egg-info/PKG-INFO writing dependency_links to imagecodecs.egg-info/dependency_links.txt writing entry points to imagecodecs.egg-info/entry_points.txt writing requirements to imagecodecs.egg-info/requires.txt writing top-level names to imagecodecs.egg-info/top_level.txt reading manifest file 'imagecodecs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'imagecodecs/_*.c' warning: no files found matching 'imagecodecs/*.cpp' warning: no files found matching 'imagecodecs/patches/*' warning: no files found matching '3rdparty/*' warning: no files found matching '3rdparty/*/*' warning: no files found matching 'tests/*.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/bcn/*.dds' 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-2024.9.22-build/imagecodecs-2024.9.22/imagecodecs-2024.9.22.dist-info' Handling numpy from hook generated metadata: Requires-Dist (imagecodecs) Requirement satisfied: numpy (installed: numpy 2.2.2) Handling matplotlib; extra == "all" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: matplotlib; extra == "all" Handling tifffile; extra == "all" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: tifffile; extra == "all" Handling numcodecs; extra == "all" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: numcodecs; extra == "all" Handling pytest; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: pytest; extra == "test" Handling tifffile; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: tifffile; extra == "test" Handling czifile; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: czifile; extra == "test" Handling blosc; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: blosc; extra == "test" Handling blosc2; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: blosc2; extra == "test" Handling zstd; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: zstd; extra == "test" Handling lz4; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: lz4; extra == "test" Handling pyliblzfse; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: pyliblzfse; extra == "test" Handling python-lzf; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: python-lzf; extra == "test" Handling python-snappy; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: python-snappy; extra == "test" Handling bitshuffle; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: bitshuffle; extra == "test" Handling zopflipy; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: zopflipy; extra == "test" Handling zarr<3; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: zarr<3; extra == "test" Handling numcodecs; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: numcodecs; extra == "test" + cat /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/python-imagecodecs-2024.9.22-1.fc42.s390x-pyproject-buildrequires + rm -rfv imagecodecs-2024.9.22.dist-info/ removed 'imagecodecs-2024.9.22.dist-info/entry_points.txt' removed 'imagecodecs-2024.9.22.dist-info/top_level.txt' removed 'imagecodecs-2024.9.22.dist-info/METADATA' removed 'imagecodecs-2024.9.22.dist-info/LICENSE' removed directory 'imagecodecs-2024.9.22.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-imagecodecs-2024.9.22-1.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 10.8 KiB/s | 5.5 KiB | 00m01s Additional repo http_kojipkgs_fedorapr 100% | 5.9 KiB/s | 3.8 KiB | 00m01s updates 100% | 15.7 KiB/s | 6.5 KiB | 00m00s Copr repository 100% | 3.3 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "CharLS-devel-2.4.2-8.fc42.s390x" is already installed. Package "blosc-devel-1.21.6-6.fc42.s390x" is already installed. Package "blosc2-devel-2.15.2-2.fc42.s390x" is already installed. Package "brotli-devel-1.1.0-6.fc42.s390x" is already installed. Package "bzip2-devel-1.0.8-20.fc42.s390x" is already installed. Package "cfitsio-devel-4.5.0-5.fc42.s390x" is already installed. Package "gcc-c++-15.0.1-0.6.fc42.s390x" is already installed. Package "giflib-devel-5.2.2-3.fc42.s390x" is already installed. Package "jxrlib-devel-1.1-30.fc42.s390x" is already installed. Package "lcms2-devel-2.16-5.fc42.s390x" is already installed. Package "libaec-devel-1.1.3-2.fc42.s390x" is already installed. Package "libavif-devel-1.0.4-8.fc42.s390x" is already installed. Package "libdeflate-devel-1.23-2.fc42.s390x" is already installed. Package "libheif-devel-1.19.5-2.fc42.s390x" is already installed. Package "libjpeg-turbo-devel-3.1.0-2.fc42.s390x" is already installed. Package "liblerc-devel-4.0.0-8.fc42.s390x" is already installed. Package "libpng-devel-2:1.6.44-2.fc42.s390x" is already installed. Package "libtiff-devel-4.7.0-3.fc42.s390x" is already installed. Package "libzstd-devel-1.5.6-3.fc42.s390x" is already installed. Package "lz4-devel-1.10.0-2.fc42.s390x" is already installed. Package "pyproject-rpm-macros-1.16.4-2.fc42.noarch" is already installed. Package "python3-cython-3.0.11-2.fc42.s390x" is already installed. Package "python3-devel-3.13.1-3.fc42.s390x" is already installed. Package "python3-blosc-1.11.2-3.fc42.s390x" is already installed. Package "python3-blosc2-2.7.1-3.fc42.s390x" is already installed. Package "python3-brotli-1.1.0-6.fc42.s390x" is already installed. Package "python3-cython-3.0.11-2.fc42.s390x" is already installed. Package "python3-lz4-4.3.3-8.fc42.s390x" is already installed. Package "python3-numcodecs-0.15.0-1.fc42.s390x" is already installed. Package "python3-numpy-1:2.2.2-2.fc42.s390x" is already installed. Package "python3-packaging-24.2-3.fc42.noarch" is already installed. Package "python3-pip-24.3.1-2.fc42.noarch" is already installed. Package "python3-pytest-8.3.4-2.fc42.noarch" is already installed. Package "python3-snappy-0.7.2-4.fc42.noarch" is already installed. Package "python3-setuptools-74.1.3-5.fc42.noarch" is already installed. Package "python3-tifffile-2025.1.10-2.fc42.noarch" is already installed. Package "python3-wheel-1:0.45.1-3.fc42.noarch" is already installed. Package "python3-zarr-2.18.4-2.fc42.noarch" is already installed. Package "python3-zstd-1.5.6.1-2.fc42.s390x" is already installed. Nothing to do. Package "snappy-devel-1.2.1-4.fc42.s390x" is already installed. Package "xz-devel-1:5.6.3-3.fc42.s390x" is already installed. Package "zfp-devel-1.0.1-5.fc42.s390x" is already installed. Package "zlib-ng-devel-2.2.3-2.fc42.s390x" is already installed. Package "zopfli-devel-1.0.3-12.fc42.s390x" is already installed. Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1737504000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.9vBsjV + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + cd imagecodecs-2024.9.22 + export PYTHONPATH=. + PYTHONPATH=. + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.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-2024.9.22-build/imagecodecs-2024.9.22/.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-2024.9.22-build/imagecodecs-2024.9.22/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/python-imagecodecs-2024.9.22-1.fc42.s390x-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 74.1.3) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.45.1) Handling numpy from build-system.requires Requirement satisfied: numpy (installed: numpy 2.2.2) Handling Cython>=3.0.11 from build-system.requires Requirement satisfied: Cython>=3.0.11 (installed: Cython 3.0.11) running egg_info writing imagecodecs.egg-info/PKG-INFO writing dependency_links to imagecodecs.egg-info/dependency_links.txt writing entry points to imagecodecs.egg-info/entry_points.txt writing requirements to imagecodecs.egg-info/requires.txt writing top-level names to imagecodecs.egg-info/top_level.txt reading manifest file 'imagecodecs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'imagecodecs/_*.c' warning: no files found matching 'imagecodecs/*.cpp' warning: no files found matching 'imagecodecs/patches/*' warning: no files found matching '3rdparty/*' warning: no files found matching '3rdparty/*/*' warning: no files found matching 'tests/*.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/bcn/*.dds' 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' running dist_info writing imagecodecs.egg-info/PKG-INFO writing dependency_links to imagecodecs.egg-info/dependency_links.txt writing entry points to imagecodecs.egg-info/entry_points.txt writing requirements to imagecodecs.egg-info/requires.txt writing top-level names to imagecodecs.egg-info/top_level.txt reading manifest file 'imagecodecs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'imagecodecs/_*.c' warning: no files found matching 'imagecodecs/*.cpp' warning: no files found matching 'imagecodecs/patches/*' warning: no files found matching '3rdparty/*' warning: no files found matching '3rdparty/*/*' warning: no files found matching 'tests/*.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/bcn/*.dds' 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-2024.9.22-build/imagecodecs-2024.9.22/imagecodecs-2024.9.22.dist-info' Handling numpy from hook generated metadata: Requires-Dist (imagecodecs) Requirement satisfied: numpy (installed: numpy 2.2.2) Handling matplotlib; extra == "all" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: matplotlib; extra == "all" Handling tifffile; extra == "all" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: tifffile; extra == "all" Handling numcodecs; extra == "all" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: numcodecs; extra == "all" Handling pytest; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: pytest; extra == "test" Handling tifffile; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: tifffile; extra == "test" Handling czifile; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: czifile; extra == "test" Handling blosc; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: blosc; extra == "test" Handling blosc2; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: blosc2; extra == "test" Handling zstd; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: zstd; extra == "test" Handling lz4; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: lz4; extra == "test" Handling pyliblzfse; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: pyliblzfse; extra == "test" Handling python-lzf; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: python-lzf; extra == "test" Handling python-snappy; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: python-snappy; extra == "test" Handling bitshuffle; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: bitshuffle; extra == "test" Handling zopflipy; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: zopflipy; extra == "test" Handling zarr<3; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: zarr<3; extra == "test" Handling numcodecs; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: numcodecs; extra == "test" + cat /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/python-imagecodecs-2024.9.22-1.fc42.s390x-pyproject-buildrequires + rm -rfv imagecodecs-2024.9.22.dist-info/ removed 'imagecodecs-2024.9.22.dist-info/entry_points.txt' removed 'imagecodecs-2024.9.22.dist-info/top_level.txt' removed 'imagecodecs-2024.9.22.dist-info/METADATA' removed 'imagecodecs-2024.9.22.dist-info/LICENSE' removed directory 'imagecodecs-2024.9.22.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aE2eYE + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2024.9.22-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-2024.9.22 + export CPPFLAGS=-I/usr/include/cfitsio + CPPFLAGS=-I/usr/include/cfitsio + export PYTHONPATH=. + PYTHONPATH=. + mkdir -p /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.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-2024.9.22-build/imagecodecs-2024.9.22/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/pyproject-wheeldir Processing /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.pyproject-builddir/pip-modern-metadata-h4493ads/imagecodecs.egg-info writing /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.pyproject-builddir/pip-modern-metadata-h4493ads/imagecodecs.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.pyproject-builddir/pip-modern-metadata-h4493ads/imagecodecs.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.pyproject-builddir/pip-modern-metadata-h4493ads/imagecodecs.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.pyproject-builddir/pip-modern-metadata-h4493ads/imagecodecs.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.pyproject-builddir/pip-modern-metadata-h4493ads/imagecodecs.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.pyproject-builddir/pip-modern-metadata-h4493ads/imagecodecs.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.pyproject-builddir/pip-modern-metadata-h4493ads/imagecodecs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'imagecodecs/_*.c' warning: no files found matching 'imagecodecs/*.cpp' warning: no files found matching 'imagecodecs/patches/*' warning: no files found matching '3rdparty/*' warning: no files found matching '3rdparty/*/*' warning: no files found matching 'tests/*.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/bcn/*.dds' 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-2024.9.22-build/imagecodecs-2024.9.22/.pyproject-builddir/pip-modern-metadata-h4493ads/imagecodecs.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.pyproject-builddir/pip-modern-metadata-h4493ads/imagecodecs-2024.9.22.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 copying imagecodecs/__init__.pyi -> build/lib.linux-s390x-cpython-313/imagecodecs copying imagecodecs/py.typed -> 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-bcdec -> 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-hdf5 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-heif -> 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-libjxs -> 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-libultrahdr -> 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-libyuv -> 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-lzokay -> 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-netcdf-c -> 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-pcodec -> 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-sperr -> 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-sz3 -> 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 imagecodecs/_avif.c: In function ‘__pyx_pf_11imagecodecs_5_avif_6avif_decode.isra.0’: imagecodecs/_avif.c:27217:56: warning: ‘__pyx_v_size’ may be used uninitialized [-Wmaybe-uninitialized] 27217 | __pyx_v_rgb.pixels = (__pyx_v_rgb.pixels + __pyx_v_size); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ imagecodecs/_avif.c:25244:14: note: ‘__pyx_v_size’ was declared here 25244 | 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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/_bmp.pyx because it changed. [1/1] Cythonizing imagecodecs/_bmp.pyx building 'imagecodecs._bmp' 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_bmp.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_bmp.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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/_bmp.o -L/usr/lib64 -lm -o build/lib.linux-s390x-cpython-313/imagecodecs/_bmp.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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 imagecodecs/_cms.c:2780: /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:1265: /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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 imagecodecs/_heif.c:29888:12: warning: ‘__pyx_f_11imagecodecs_5_heif_output_seek’ defined but not used [-Wunused-function] 29888 | 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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:875:20: warning: unused variable ‘dstend’ [-Wunused-variable] 875 | const uint8_t* dstend = dstptr + dstsize; | ^~~~~~ imagecodecs/imcd.c: In function ‘imcd_packints_encode’: imagecodecs/imcd.c:1123:19: warning: unused variable ‘k’ [-Wunused-variable] 1123 | ssize_t i, j, k; | ^ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 imagecodecs/_jpeg8.c: In function ‘__pyx_pf_11imagecodecs_6_jpeg8_6jpeg8_decode’: imagecodecs/_jpeg8.c:23919:32: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare] 23919 | __pyx_t_5 = (__pyx_v_srcsize >= 4294967296U); | ^~ imagecodecs/_jpeg8.c: At top level: imagecodecs/_jpeg8.c:25805:12: warning: ‘__pyx_f_11imagecodecs_6_jpeg8__check_range’ defined but not used [-Wunused-function] 25805 | static int __pyx_f_11imagecodecs_6_jpeg8__check_range(PyArrayObject *__pyx_v_data, struct __pyx_opt_args_11imagecodecs_6_jpeg8__check_range *__pyx_optional_args) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 imagecodecs/_jpegxr.c:31344:18: warning: ‘__pyx_f_11imagecodecs_7_jpegxr__pixelformat_str’ defined but not used [-Wunused-function] 31344 | 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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:174: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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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 warning: imagecodecs/_shared.pyx:95:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 Compiling imagecodecs/_shared.pyx because it changed. [1/1] Cythonizing imagecodecs/_shared.pyx building 'imagecodecs._shared' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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 Compiling imagecodecs/_szip.pyx because it changed. [1/1] Cythonizing imagecodecs/_szip.pyx building 'imagecodecs._szip' 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_szip.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_szip.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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/_szip.o -L/usr/lib64 -lm -lsz -o build/lib.linux-s390x-cpython-313/imagecodecs/_szip.cpython-313-s390x-linux-gnu.so 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 imagecodecs/_tiff.c:29307:47: warning: ‘__pyx_f_11imagecodecs_5_tiff_memtif_new’ defined but not used [-Wunused-function] 29307 | 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 imagecodecs/_webp.c: In function ‘__pyx_pf_11imagecodecs_5_webp_6webp_decode’: imagecodecs/_webp.c:23564:32: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 23564 | __pyx_t_2 = (__pyx_v_width != __pyx_v_iter.width); | ^~ imagecodecs/_webp.c:23573:33: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 23573 | __pyx_t_2 = (__pyx_v_height != __pyx_v_iter.height); | ^~ 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 -lwebpdemux -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 imagecodecs/_zfp.c: In function ‘__pyx_pf_11imagecodecs_4_zfp_4zfp_encode.isra.0’: imagecodecs/_zfp.c:22861:21: warning: ‘__pyx_v_minbits’ may be used uninitialized [-Wmaybe-uninitialized] 22861 | __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:21099:21: note: ‘__pyx_v_minbits’ was declared here 21099 | __pyx_t_3zfp_uint __pyx_v_minbits; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:22861:21: warning: ‘__pyx_v_maxbits’ may be used uninitialized [-Wmaybe-uninitialized] 22861 | __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:21100:21: note: ‘__pyx_v_maxbits’ was declared here 21100 | __pyx_t_3zfp_uint __pyx_v_maxbits; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:22861:21: warning: ‘__pyx_v_maxprec’ may be used uninitialized [-Wmaybe-uninitialized] 22861 | __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:21101:21: note: ‘__pyx_v_maxprec’ was declared here 21101 | __pyx_t_3zfp_uint __pyx_v_maxprec; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:22861:21: warning: ‘__pyx_v_minexp’ may be used uninitialized [-Wmaybe-uninitialized] 22861 | __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:21102:21: note: ‘__pyx_v_minexp’ was declared here 21102 | __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 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 imagecodecs/_zlib.c:24057:12: warning: ‘__pyx_f_11imagecodecs_5_zlib_output_seek’ defined but not used [-Wunused-function] 24057 | 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 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 imagecodecs/_zlibng.c:24064:12: warning: ‘__pyx_f_11imagecodecs_7_zlibng_output_seek’ defined but not used [-Wunused-function] 24064 | 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 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 warning: imagecodecs/zstd.pxd:873:8: 'ZSTD_c_targetCBlockSize' redeclared 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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -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 imagecodecs/_zstd.c:23026:12: warning: ‘__pyx_f_11imagecodecs_5_zstd_output_seek’ defined but not used [-Wunused-function] 23026 | static int __pyx_f_11imagecodecs_5_zstd_output_seek(__pyx_t_11imagecodecs_5_zstd_output_t *__pyx_v_output, size_t __pyx_v_pos) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 copying build/lib.linux-s390x-cpython-313/imagecodecs/__init__.pyi -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/py.typed -> 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-bcdec -> 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-hdf5 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-heif -> 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-libjxs -> 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-libultrahdr -> 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-libyuv -> 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-lzokay -> 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-netcdf-c -> 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-pcodec -> 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-sperr -> 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-sz3 -> 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/_bmp.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/_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/_szip.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/bcn/*.dds' 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-2024.9.22-py3.13.egg-info running install_scripts creating build/bdist.linux-s390x/wheel/imagecodecs-2024.9.22.dist-info/WHEEL creating '/builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.pyproject-builddir/pip-wheel-97zpbmdk/.tmp-rzsn1st_/imagecodecs-2024.9.22-cp313-cp313-linux_s390x.whl' and adding 'build/bdist.linux-s390x/wheel' to it adding 'imagecodecs/__init__.py' adding 'imagecodecs/__init__.pyi' adding 'imagecodecs/__main__.py' adding 'imagecodecs/_aec.cpython-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/_bmp.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/_shared.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_snappy.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_szip.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/py.typed' adding 'imagecodecs/licenses/LICENSE-aom' adding 'imagecodecs/licenses/LICENSE-bcdec' adding 'imagecodecs/licenses/LICENSE-bitshuffle' adding 'imagecodecs/licenses/LICENSE-blosc' adding 'imagecodecs/licenses/LICENSE-blosc2' adding 'imagecodecs/licenses/LICENSE-brotli' adding 'imagecodecs/licenses/LICENSE-brunsli' adding 'imagecodecs/licenses/LICENSE-bzip2' adding 'imagecodecs/licenses/LICENSE-cfitsio' adding 'imagecodecs/licenses/LICENSE-charls' adding 'imagecodecs/licenses/LICENSE-dav1d' adding 'imagecodecs/licenses/LICENSE-fastlz' adding 'imagecodecs/licenses/LICENSE-giflib' adding 'imagecodecs/licenses/LICENSE-hdf5' adding 'imagecodecs/licenses/LICENSE-heif' adding 'imagecodecs/licenses/LICENSE-highway' adding 'imagecodecs/licenses/LICENSE-jetraw' adding 'imagecodecs/licenses/LICENSE-jpeg' adding 'imagecodecs/licenses/LICENSE-jpg_0xc3' adding 'imagecodecs/licenses/LICENSE-jxrlib' adding 'imagecodecs/licenses/LICENSE-lcms2' adding 'imagecodecs/licenses/LICENSE-lerc' adding 'imagecodecs/licenses/LICENSE-libaec' adding 'imagecodecs/licenses/LICENSE-libaivf' adding 'imagecodecs/licenses/LICENSE-libdeflate' adding 'imagecodecs/licenses/LICENSE-libjpeg' adding 'imagecodecs/licenses/LICENSE-libjpeg-turbo' adding 'imagecodecs/licenses/LICENSE-libjxl' adding 'imagecodecs/licenses/LICENSE-libjxs' adding 'imagecodecs/licenses/LICENSE-liblj92' adding 'imagecodecs/licenses/LICENSE-liblzma' adding 'imagecodecs/licenses/LICENSE-libmng' adding 'imagecodecs/licenses/LICENSE-libpng' adding 'imagecodecs/licenses/LICENSE-libspng' adding 'imagecodecs/licenses/LICENSE-libtiff' adding 'imagecodecs/licenses/LICENSE-libultrahdr' adding 'imagecodecs/licenses/LICENSE-libwebp' adding 'imagecodecs/licenses/LICENSE-libyuv' adding 'imagecodecs/licenses/LICENSE-lz4' adding 'imagecodecs/licenses/LICENSE-lzf' adding 'imagecodecs/licenses/LICENSE-lzfse' adding 'imagecodecs/licenses/LICENSE-lzham' adding 'imagecodecs/licenses/LICENSE-lzokay' adding 'imagecodecs/licenses/LICENSE-mozjpeg' adding 'imagecodecs/licenses/LICENSE-netcdf-c' adding 'imagecodecs/licenses/LICENSE-openjpeg' adding 'imagecodecs/licenses/LICENSE-pcodec' adding 'imagecodecs/licenses/LICENSE-postgresql' adding 'imagecodecs/licenses/LICENSE-qoi' adding 'imagecodecs/licenses/LICENSE-rav1e' adding 'imagecodecs/licenses/LICENSE-snappy' adding 'imagecodecs/licenses/LICENSE-sperr' adding 'imagecodecs/licenses/LICENSE-svt-av1' adding 'imagecodecs/licenses/LICENSE-sz3' adding 'imagecodecs/licenses/LICENSE-zfp' adding 'imagecodecs/licenses/LICENSE-zlib' adding 'imagecodecs/licenses/LICENSE-zlib-ng' adding 'imagecodecs/licenses/LICENSE-zopfli' adding 'imagecodecs/licenses/LICENSE-zstd' adding 'imagecodecs/licenses/PATENTS-rav1e' adding 'imagecodecs-2024.9.22.dist-info/LICENSE' adding 'imagecodecs-2024.9.22.dist-info/METADATA' adding 'imagecodecs-2024.9.22.dist-info/WHEEL' adding 'imagecodecs-2024.9.22.dist-info/entry_points.txt' adding 'imagecodecs-2024.9.22.dist-info/top_level.txt' adding 'imagecodecs-2024.9.22.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-2024.9.22-cp313-cp313-linux_s390x.whl size=16277783 sha256=84e65416dbe9570004fb36d50350f2defb899da23c5c744bbf0c7dec6b29831e Stored in directory: /builddir/.cache/pip/wheels/2d/fa/86/8f2445e6f6f6288ba9519f91642dbfcf6f6f873bafefb92b9b Successfully built imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Tk4eCf + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + '[' /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + mkdir /builddir/build/BUILD/python-imagecodecs-2024.9.22-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-2024.9.22 ++ ls /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/pyproject-wheeldir/imagecodecs-2024.9.22-cp313-cp313-linux_s390x.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ xargs basename --multiple + specifier=imagecodecs==2024.9.22 + '[' -z imagecodecs==2024.9.22 ']' + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-imagecodecs-2024.9.22-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-2024.9.22-build/imagecodecs-2024.9.22/pyproject-wheeldir imagecodecs==2024.9.22 Using pip 24.3.1 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/pyproject-wheeldir Processing ./pyproject-wheeldir/imagecodecs-2024.9.22-cp313-cp313-linux_s390x.whl Installing collected packages: imagecodecs Creating /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/bin changing mode of /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/bin/imagecodecs to 755 Successfully installed imagecodecs-2024.9.22 + '[' -d /builddir/build/BUILD/python-imagecodecs-2024.9.22-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-2024.9.22-build/BUILDROOT/usr/bin/imagecodecs /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/bin/imagecodecs: updating + rm -rfv /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/python-imagecodecs-2024.9.22-1.fc42.s390x-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/python-imagecodecs-2024.9.22-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-2024.9.22-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib64/python3.13/site-packages/imagecodecs-2024.9.22.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2024.9.22.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-2024.9.22-build/BUILDROOT --record /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2024.9.22.dist-info/RECORD --output /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/python-imagecodecs-2024.9.22-1.fc42.s390x-pyproject-record + rm -fv /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2024.9.22.dist-info/RECORD removed '/builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2024.9.22.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2024.9.22.dist-info/REQUESTED removed '/builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2024.9.22.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/python-imagecodecs-2024.9.22-1.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-2024.9.22-build/python-imagecodecs-2024.9.22-1.fc42.s390x-pyproject-files --output-modules /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/python-imagecodecs-2024.9.22-1.fc42.s390x-pyproject-modules --buildroot /builddir/build/BUILD/python-imagecodecs-2024.9.22-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-2024.9.22-build/python-imagecodecs-2024.9.22-1.fc42.s390x-pyproject-record --prefix /usr imagecodecs + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2024.9.22-1.fc42 --unique-debug-suffix -2024.9.22-1.fc42.s390x --unique-debug-src-base python-imagecodecs-2024.9.22-1.fc42.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22 find-debuginfo: starting Extracting debug info from 28 files DWARF-compressing 28 files sepdebugcrcfix: Updated 28 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/python-imagecodecs-2024.9.22-1.fc42.s390x find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 Bytecompiling .py files below /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13 using python3.13 Bytecompiling .py files below /builddir/build/BUILD/python-imagecodecs-2024.9.22-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-2024.9.22-build/BUILDROOT /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/__main__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/_imagecodecs.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/imagecodecs.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/imagecodecs.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/numcodecs.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/numcodecs.cpython-313.opt-1.pyc: replacing with normalized version Scanned 22 directories and 171 files, processed 7 inodes, 7 modified (4 replaced + 3 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Z75bVo + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2024.9.22-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-2024.9.22 + TEST_OPTS=(--deselect "tests/test_imagecodecs.py::test_cms_identity_transforms" --deselect "tests/test_imagecodecs.py::test_cms" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-new]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-bytearray]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-out]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-size]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-new]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-bytearray]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-out]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-size]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-new]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-bytearray]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-out]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-size]" --deselect tests/test_imagecodecs.py::test_spng_encode --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.lerc.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.lerc.u1-True]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lerc.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lerc.u1-True]" --deselect "tests/test_imagecodecs.py::test_numcodecs[heif-gray]" --deselect "tests/test_imagecodecs.py::test_numcodecs[heif-rgb]" --deselect "tests/test_imagecodecs.py::test_numcodecs[heif-stack]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.one.f8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.separate.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.f8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.separate.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.f4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.c8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.separate.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.separate.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.f2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.one.f4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.series.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.separate.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.predict.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.contig.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.one.f2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.bigendian.u2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.bigtiff.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.stack.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.c16-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.tiled.f4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_index[0]" --deselect "tests/test_imagecodecs.py::test_tiff_index[3]" --deselect "tests/test_imagecodecs.py::test_tiff_index[None]" --deselect "tests/test_imagecodecs.py::test_tiff_index[list]" --deselect "tests/test_imagecodecs.py::test_tiff_index[slice]" --deselect "tests/test_imagecodecs.py::test_tiff_asrgb" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f4->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f4->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f4->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f4->]") + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + /usr/bin/pytest -v --deselect tests/test_imagecodecs.py::test_cms_identity_transforms --deselect tests/test_imagecodecs.py::test_cms --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-new]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-bytearray]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-out]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-size]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-new]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-bytearray]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-out]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-size]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-new]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-bytearray]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-out]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-size]' --deselect tests/test_imagecodecs.py::test_spng_encode --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.lerc.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.lerc.u1-True]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lerc.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lerc.u1-True]' --deselect 'tests/test_imagecodecs.py::test_numcodecs[heif-gray]' --deselect 'tests/test_imagecodecs.py::test_numcodecs[heif-rgb]' --deselect 'tests/test_imagecodecs.py::test_numcodecs[heif-stack]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.i2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.one.f8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgba.separate.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.f8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.separate.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.u2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.f4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.i1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.u4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.c8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.separate.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.separate.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgba.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.f2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.one.f4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.series.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgba.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.i4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgba.separate.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.predict.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.contig.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.one.f2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.bigendian.u2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.bigtiff.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.stack.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.c16-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.i8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.u8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.tiled.f4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[0]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[3]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[None]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[list]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[slice]' --deselect tests/test_imagecodecs.py::test_tiff_asrgb --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-u1-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-u1->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-u2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-u2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-f2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-f2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-f4-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-f4->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-u1-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-u1->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-u2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-u2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-f2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-f2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-f4-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-f4->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-u1-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-u1->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-u2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-u2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-f2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-f2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-f4-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-f4->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-u1-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-u1->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-u2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-u2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-f2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-f2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-f4-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-f4->]' ============================= test session starts ============================== platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache Python 3.13.1 (main, Jan 18 2025, 00:00:00) [GCC 15.0.1 20250114 (Red Hat 15.0.1-0)] packagedir: /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs version: imagecodecs-2024.9.22, cython-3.0.11, numpy-2.2.2, numpy_abi-0x2000000.14, imcd-2024.6.1, apng-n/a, bcn-n/a, bitshuffle-n/a, bmp-2024.1.1, brotli-1.1.0, brunsli-n/a, c-blosc-1.21.6, c-blosc2-2.15.2, dds-n/a, giflib-5.2.2, h5checksum-n/a, imcd-2024.6.1, jetraw-n/a, jpeg2k-n/a, jpegls-n/a, jpegsof3-n/a, jpegxl-n/a, jpegxs-n/a, jxrlib-1.1, lcms2-2.16.0, lerc-4.0.0, libaec-1.0.x, libaec-1.1.3, libavif-1.0.4, libbzip2-1.0.8, libdeflate-1.23, libheif-1.19.5, libjpeg_turbo-3.1.0/6.2, liblzma-5.6.3, libpng-1.6.44, libtiff-4.7.0, libwebp-1.5.0, ljpeg-n/a, lz4-1.10.0, lz4f-n/a, lzf-n/a, lzfse-n/a, lzham-n/a, lzo-n/a, mozjpeg-n/a, pcodec-n/a, pglz-n/a, qoi-n/a, quantize-n/a, rcomp-n/a, rgbe-n/a, snappy-1.2.x, sperr-n/a, spng-n/a, sz3-n/a, ultrahdr-n/a, zfp-1.0.1, zlib-1.3.1.zlib-ng, zlib_ng-2.2.3, zopfli-1.0.x, zstd-1.5.6 dependencies: imagecodecs.py-2024.9.22, numpy-2.2.2, zlib-1.3.1.zlib-ng, bz2-stdlib, lzma-stdlib, blosc-1.11.2, blosc2-2.7.1, zstd-1.5.6.1, 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.15.0, zarr-2.18.4, tifffile-2025.1.10, czifile-n/a rootdir: /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22 configfile: pyproject.toml collecting ... collected 11694 items / 373 deselected / 11321 selected tests/test_imagecodecs.py::test_version PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_aec] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_apng] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_avif] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_bcn] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_bitshuffle] XFAIL (ima...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_blosc] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_blosc2] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_bmp] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_brotli] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_brunsli] XFAIL (imagec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_bz2] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_cms] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_deflate] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_gif] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_h5checksum] XFAIL (ima...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_heif] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_imcd] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_jetraw] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_jpeg2k] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_jpeg8] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_jpegls] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_jpegsof3] XFAIL (image...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_jpegxl] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_jpegxr] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_jpegxs] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_lerc] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_ljpeg] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_lz4] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_lz4f] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_lzf] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_lzfse] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_lzham] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_lzma] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_lzo] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_mozjpeg] XFAIL (imagec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_pcodec] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_pglz] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_png] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_qoi] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_quantize] XFAIL (image...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_rcomp] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_rgbe] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_snappy] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_sperr] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_spng] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_sz3] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_szip] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_tiff] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_ultrahdr] XFAIL (image...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_webp] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_zfp] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_zlib] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_zlibng] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_zopfli] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_zstd] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[bitshuffle] SKIPPED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[blosc] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[blosc2] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[brotli] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[czifile] SKIPPED (c...) [ 0%] tests/test_imagecodecs.py::test_dependency_exist[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 [ 0%] tests/test_imagecodecs.py::test_packbits[encode-9] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-10] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-11] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-12] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-13] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-14] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-15] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-16] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-17] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-18] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-19] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-20] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-21] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-22] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-23] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-24] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-25] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-26] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-27] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-28] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-29] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-30] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-31] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-0] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-1] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-2] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-3] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-4] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-5] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-6] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-7] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-8] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-9] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-10] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-11] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-12] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-13] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-14] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-15] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-16] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-17] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-18] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-19] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-20] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-21] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-22] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-23] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-24] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-25] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-26] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-27] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-28] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-29] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-30] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-31] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[0] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[1] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[2] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[3] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[4] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[5] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[6] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[7] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[8] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[9] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[10] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[11] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[12] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[13] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[14] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[15] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[16] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[17] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[18] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[19] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[20] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[21] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[22] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[23] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[24] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[25] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[26] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[27] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[28] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[29] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[30] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[31] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_nop PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[encode-uint8-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[encode-uint8-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[encode-uint16-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[encode-uint16-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[decode-uint8-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[decode-uint8-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[decode-uint16-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[decode-uint16-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_encode_axis PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_padbyte PASSED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-=-0] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-=-1] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-=-2] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-=-3] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-=-4] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-=-5] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-<-0] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-<-1] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-<-2] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-<-3] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-<-4] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-<-5] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False->-0] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False->-1] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False->-2] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False->-3] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False->-4] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False->-5] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-=-0] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-=-1] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-=-2] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-=-3] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-=-4] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-=-5] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-<-0] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-<-1] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-<-2] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-<-3] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-<-4] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-<-5] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True->-0] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True->-1] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True->-2] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True->-3] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True->-4] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True->-5] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle_numcodecs FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle_raises PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u1-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u1-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u1-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u1-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u1-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u1-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u2-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u2-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u2-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u2-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u2-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u2-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i1-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i1-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i1-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i1-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i1-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i1-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i4-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i4-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-B-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-B-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-B-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-B-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-B-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-B-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-b-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-b-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-b-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-b-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-b-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-b-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-le-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-le-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-le-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-le-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-be-encode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-be-encode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-be-decode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-be-decode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-le-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-le-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-le-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-le-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-be-encode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-be-encode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-be-decode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-be-decode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f30-f40-nan] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f31-f41-nan] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f32-f42-nan] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f33-f43-inf] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f34-f44--inf] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f35-f45-0.0] PASSED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f36-f46--0.0] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f37-f47-1.0] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f38-f48--1.0] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f39-f49-3.1416016] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f310-f410-3.1415839e-06] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f311-f411-3.1415839e-06] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f312-f412-1e-19] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f313-f413-inf] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f314-f414-1.0842022e-19] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f315-f415-1.0842021e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f316-f416-5.421011e-20] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f317-f417-3.3087225e-24] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f318-f418-2.1684043e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f319-f419-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f320-f420-0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f321-f421-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f322-f422-0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f30-f40-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f31-f41-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f32-f42-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f33-f43-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f34-f44--inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f35-f45-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f36-f46--0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f37-f47-1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f38-f48--1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f39-f49-3.1416016] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f310-f410-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f311-f411-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f312-f412-1e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f313-f413-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f314-f414-1.0842022e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f315-f415-1.0842021e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f316-f416-5.421011e-20] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f317-f417-3.3087225e-24] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f318-f418-2.1684043e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f319-f419-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f320-f420-0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f321-f421-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f322-f422-0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f30-f40-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f31-f41-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f32-f42-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f33-f43-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f34-f44--inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f35-f45-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f36-f46--0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f37-f47-1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f38-f48--1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f39-f49-3.1416016] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f310-f410-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f311-f411-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f312-f412-1e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f313-f413-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f314-f414-1.0842022e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f315-f415-1.0842021e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f316-f416-5.421011e-20] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f317-f417-3.3087225e-24] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f318-f418-2.1684043e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f319-f419-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f320-f420-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f321-f421-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f322-f422-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f30-f40-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f31-f41-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f32-f42-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f33-f43-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f34-f44--inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f35-f45-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f36-f46--0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f37-f47-1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f38-f48--1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f39-f49-3.1416016] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f310-f410-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f311-f411-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f312-f412-1e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f313-f413-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f314-f414-1.0842022e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f315-f415-1.0842021e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f316-f416-5.421011e-20] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f317-f417-3.3087225e-24] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f318-f418-2.1684043e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f319-f419-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f320-f420-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f321-f421-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f322-f422-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24_roundtrip[>] PASSED [ 5%] tests/test_imagecodecs.py::test_float24_roundtrip[<] PASSED [ 5%] tests/test_imagecodecs.py::test_eer FAILED [ 5%] tests/test_imagecodecs.py::test_eer_superres FAILED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[crc32-uint8] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[crc32-float32] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[adler32-uint8] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[adler32-float32] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[fletcher32-uint8] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[fletcher32-float32] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[lookup3-uint8] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[lookup3-float32] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[h5crc-uint8] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[h5crc-float32] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f4-bitgroom] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f4-granularbr] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f4-bitround] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f4-scale] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f8-bitgroom] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f8-granularbr] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f8-bitround] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f8-scale] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_bitround[f4-1] SKIPPED (QUA...) [ 5%] tests/test_imagecodecs.py::test_quantize_bitround[f4-4] SKIPPED (QUA...) [ 5%] tests/test_imagecodecs.py::test_quantize_bitround[f8-1] SKIPPED (QUA...) [ 5%] tests/test_imagecodecs.py::test_quantize_bitround[f8-4] SKIPPED (QUA...) [ 5%] tests/test_imagecodecs.py::test_quantize_scale[f4-1] SKIPPED (QUANTI...) [ 5%] tests/test_imagecodecs.py::test_quantize_scale[f4-4] SKIPPED (QUANTI...) [ 5%] tests/test_imagecodecs.py::test_quantize_scale[f8-1] SKIPPED (QUANTI...) [ 5%] tests/test_imagecodecs.py::test_quantize_scale[f8-4] SKIPPED (QUANTI...) [ 5%] tests/test_imagecodecs.py::test_checksum_fletcher32 SKIPPED (H5CHECK...) [ 5%] tests/test_imagecodecs.py::test_checksum_lookup3 SKIPPED (H5CHECKSUM...) [ 5%] tests/test_imagecodecs.py::test_h5checksum_lookup3 SKIPPED (H5CHECKS...) [ 5%] tests/test_imagecodecs.py::test_h5checksum_other SKIPPED (H5CHECKSUM...) [ 5%] tests/test_imagecodecs.py::test_zlib_checksums[zlib-crc32-None] PASSED [ 5%] tests/test_imagecodecs.py::test_zlib_checksums[zlib-crc32-2] PASSED [ 5%] tests/test_imagecodecs.py::test_zlib_checksums[zlib-adler32-None] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[zlib-adler32-2] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[zlibng-crc32-None] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[zlibng-crc32-2] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[zlibng-adler32-None] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[zlibng-adler32-2] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[deflate-crc32-None] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[deflate-crc32-2] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[deflate-adler32-None] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[deflate-adler32-2] PASSED [ 6%] tests/test_imagecodecs.py::test_lzo_decode SKIPPED (LZO missing) [ 6%] tests/test_imagecodecs.py::test_lzo_numcodecs SKIPPED (zarr or numco...) [ 6%] tests/test_imagecodecs.py::test_lzw_corrupt PASSED [ 6%] tests/test_imagecodecs.py::test_lzw_msb PASSED [ 6%] tests/test_imagecodecs.py::test_lzw_decode[new] PASSED [ 6%] tests/test_imagecodecs.py::test_lzw_decode[size] PASSED [ 6%] tests/test_imagecodecs.py::test_lzw_decode[ndarray] PASSED [ 6%] tests/test_imagecodecs.py::test_lzw_decode[bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_lzw_decode_image_noeoi PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-new] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-bytearray] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-out] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-size] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-excess] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-trunc] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-bytearray] PASSED [ 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 [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-new] PASSED [ 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 [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-2-out] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-2-size] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-2-excess] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-2-trunc] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-3069-new] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-3069-bytearray] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-3069-out] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-3069-size] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-3069-excess] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-3069-trunc] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-0-new] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-0-bytearray] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-0-out] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-0-size] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-0-excess] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-0-trunc] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-2-new] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-2-bytearray] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-2-out] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-2-size] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-2-excess] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-2-trunc] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-3069-new] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-3069-bytearray] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-3069-out] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-3069-size] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-3069-excess] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-3069-trunc] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-excess] SKIPPED [ 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 [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-size] PASSED [ 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 [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-size] PASSED [ 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 [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-out] PASSED [ 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 [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-new] PASSED [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-bytearray] PASSED [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-out] PASSED [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-size] PASSED [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-excess] PASSED [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-trunc] PASSED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-1-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-1-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-2-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-2-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-4-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-4-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-8-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-8-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-1-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-1-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-2-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-2-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-4-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-4-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-8-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-8-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-1-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-1-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-2-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-2-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-4-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-4-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-8-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-8-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-bitshuffle-None-6] PASSED [ 13%] 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_bcn[bc1-1-shape0] SKIPPED (bcn missing) [ 14%] tests/test_imagecodecs.py::test_bcn[bc2-2-shape1] SKIPPED (bcn missing) [ 14%] tests/test_imagecodecs.py::test_bcn[bc3-3-shape2] SKIPPED (bcn missing) [ 14%] tests/test_imagecodecs.py::test_bcn[bc4-4-shape3] SKIPPED (bcn missing) [ 14%] tests/test_imagecodecs.py::test_bcn[bc5-5-shape4] SKIPPED (bcn missing) [ 14%] tests/test_imagecodecs.py::test_bcn[bc6hs--6-shape5] SKIPPED (bcn mi...) [ 14%] tests/test_imagecodecs.py::test_bcn[bc7-7-shape6] SKIPPED (bcn missing) [ 14%] tests/test_imagecodecs.py::test_bcn[cubemap-1-shape7] SKIPPED (bcn m...) [ 14%] tests/test_imagecodecs.py::test_szip_canonical FAILED [ 14%] tests/test_imagecodecs.py::test_szip_params PASSED [ 14%] tests/test_imagecodecs.py::test_zstd_stream FAILED [ 14%] tests/test_imagecodecs.py::test_lzf_exceptions SKIPPED (lzf missing) [ 14%] tests/test_imagecodecs.py::test_pglz SKIPPED (pglz missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[1-u1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[1-u2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[1-u4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[1-i1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[1-i2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[1-i4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[2-u1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[2-u2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[2-u4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[2-i1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[2-i2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[2-i4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[3-u1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[3-u2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[3-u4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[3-i1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[3-i2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[3-i4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[4-u1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[4-u2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[4-u4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[4-i1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[4-i2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[4-i4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_jetraw SKIPPED (jetraw missing) [ 14%] tests/test_imagecodecs.py::test_pcodec[uint16] SKIPPED (pcodec missing) [ 15%] tests/test_imagecodecs.py::test_pcodec[uint32] SKIPPED (pcodec missing) [ 15%] tests/test_imagecodecs.py::test_pcodec[int32] SKIPPED (pcodec missing) [ 15%] tests/test_imagecodecs.py::test_pcodec[int64] SKIPPED (pcodec missing) [ 15%] tests/test_imagecodecs.py::test_pcodec[float32] SKIPPED (pcodec missing) [ 15%] tests/test_imagecodecs.py::test_pcodec[float64] SKIPPED (pcodec missing) [ 15%] tests/test_imagecodecs.py::test_pcodec[float16] SKIPPED (pcodec missing) [ 15%] tests/test_imagecodecs.py::test_rgbe_decode SKIPPED (rgbe missing) [ 15%] tests/test_imagecodecs.py::test_rgbe_roundtrip SKIPPED (rgbe missing) [ 15%] tests/test_imagecodecs.py::test_bmpsuite[name0] SKIPPED (got empty p...) [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-444-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-444-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-444-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-444-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-422-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-422-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-422-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-422-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-420-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-420-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-420-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-420-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-411-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-411-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-411-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-411-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-440-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-440-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-440-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-440-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-444-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-444-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-444-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-444-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-422-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-422-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-422-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-422-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-420-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-420-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-420-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-420-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-411-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-411-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-411-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-411-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-440-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-440-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-440-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-440-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-444-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-444-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-444-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-444-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-422-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-422-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-422-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-422-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-420-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-420-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-420-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-420-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-411-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-411-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-411-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-411-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-440-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-440-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-440-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-440-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-25-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-0-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-0-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-25-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-25-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-0-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-0-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-25-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-25-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-0-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-0-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-25-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-25-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-0-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-0-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-25-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-25-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-444-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-444-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-444-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-444-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-422-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-422-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-422-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-422-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-420-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-420-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-420-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-420-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-411-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-411-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-411-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-411-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-440-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-440-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-440-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-440-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-444-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-444-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-444-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-444-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-422-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-422-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-422-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-422-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-420-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-420-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-420-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-420-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-411-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-411-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-411-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-411-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-440-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-440-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-440-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-440-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-444-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-444-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-444-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-444-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-422-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-422-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-422-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-422-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-420-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-420-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-420-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-420-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-411-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-411-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-411-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-411-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-440-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-440-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-440-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-440-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg8_decode[new] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg8_decode[out] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg12_decode[new] FAILED [ 16%] tests/test_imagecodecs.py::test_jpeg12_decode[out] FAILED [ 16%] tests/test_imagecodecs.py::test_jpeg12_decode[bytearray] FAILED [ 16%] tests/test_imagecodecs.py::test_jpeg_rgb_mode PASSED [ 16%] tests/test_imagecodecs.py::test_mozjpeg SKIPPED (mozjpeg missing) [ 16%] tests/test_imagecodecs.py::test_ljpeg[1px.ljp-result0-jpeg8] PASSED [ 16%] tests/test_imagecodecs.py::test_ljpeg[1px.ljp-result0-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[1px.ljp-result0-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[2ch.ljp-result1-jpeg8] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[2ch.ljp-result1-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[2ch.ljp-result1-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[2dht.ljp-result2-jpeg8] PASSED [ 16%] tests/test_imagecodecs.py::test_ljpeg[2dht.ljp-result2-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[2dht.ljp-result2-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[3dht.ljp-result3-jpeg8] PASSED [ 16%] tests/test_imagecodecs.py::test_ljpeg[3dht.ljp-result3-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[3dht.ljp-result3-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[gray16.ljp-result4-jpeg8] PASSED [ 16%] tests/test_imagecodecs.py::test_ljpeg[gray16.ljp-result4-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[gray16.ljp-result4-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[gray8.ljp-result5-jpeg8] PASSED [ 16%] tests/test_imagecodecs.py::test_ljpeg[gray8.ljp-result5-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[gray8.ljp-result5-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[rgb24.ljp-result6-jpeg8] XFAIL [ 16%] tests/test_imagecodecs.py::test_ljpeg[rgb24.ljp-result6-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[rgb24.ljp-result6-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[dng0.ljp-result7-jpeg8] XFAIL [ 16%] tests/test_imagecodecs.py::test_ljpeg[dng0.ljp-result7-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[dng0.ljp-result7-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[dng1.ljp-result8-jpeg8] PASSED [ 16%] tests/test_imagecodecs.py::test_ljpeg[dng1.ljp-result8-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[dng1.ljp-result8-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[dng2.ljp-result9-jpeg8] PASSED [ 16%] tests/test_imagecodecs.py::test_ljpeg[dng2.ljp-result9-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[dng2.ljp-result9-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng3.ljp-result10-jpeg8] PASSED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng3.ljp-result10-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng3.ljp-result10-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng4.ljp-result11-jpeg8] PASSED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng4.ljp-result11-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng4.ljp-result11-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng5.ljp-result12-jpeg8] PASSED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng5.ljp-result12-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng5.ljp-result12-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng6.ljp-result13-jpeg8] PASSED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng6.ljp-result13-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng6.ljp-result13-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng7.ljp-result14-jpeg8] PASSED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng7.ljp-result14-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng7.ljp-result14-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm1-8bit.ljp-result15-jpeg8] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm1-8bit.ljp-result15-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm1-8bit.ljp-result15-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm1.ljp-result16-jpeg8] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm1.ljp-result16-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm1.ljp-result16-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm2.ljp-result17-jpeg8] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm2.ljp-result17-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm2.ljp-result17-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm3.ljp-result18-jpeg8] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm3.ljp-result18-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm3.ljp-result18-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm4.ljp-result19-jpeg8] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm4.ljp-result19-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm4.ljp-result19-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm5.ljp-result20-jpeg8] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm5.ljp-result20-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm5.ljp-result20-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm6.ljp-result21-jpeg8] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm6.ljp-result21-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm6.ljp-result21-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm7.ljp-result22-jpeg8] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm7.ljp-result22-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm7.ljp-result22-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[linearraw.ljp-result23-jpeg8] PASSED [ 17%] tests/test_imagecodecs.py::test_ljpeg[linearraw.ljp-result23-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[linearraw.ljp-result23-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[pvrg.ljp-result24-jpeg8] XFAIL [ 17%] tests/test_imagecodecs.py::test_ljpeg[pvrg.ljp-result24-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[pvrg.ljp-result24-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpeg8-gray8.ljp-new] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpeg8-gray8.ljp-out] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpeg8-gray8.ljp-bytearray] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpeg8-gray16.ljp-new] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpeg8-gray16.ljp-out] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpeg8-gray16.ljp-bytearray] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray8.ljp-new] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray8.ljp-out] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray8.ljp-bytearray] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray16.ljp-new] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray16.ljp-out] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray16.ljp-bytearray] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray8.ljp-new] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray8.ljp-out] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray8.ljp-bytearray] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray16.ljp-new] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray16.ljp-out] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray16.ljp-bytearray] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegxl_planar[uint8] SKIPPED (jpegxl...) [ 17%] tests/test_imagecodecs.py::test_jpegxl_planar[uint16] SKIPPED (jpegx...) [ 17%] tests/test_imagecodecs.py::test_jpegxl_planar[float16] SKIPPED (jpeg...) [ 17%] tests/test_imagecodecs.py::test_jpegxl_planar[float32] SKIPPED (jpeg...) [ 17%] tests/test_imagecodecs.py::test_jpegxl_bitspersample SKIPPED (jpegxl...) [ 17%] tests/test_imagecodecs.py::test_jpegxl_transcode SKIPPED (jpegxl or ...) [ 17%] tests/test_imagecodecs.py::test_jpegxr_decode[new] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegxr_decode[out] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegxr_decode[bytearray] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegxr_fixedpoint[False] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegxr_fixedpoint[True] PASSED [ 17%] tests/test_imagecodecs.py::test_avif_strict_disabled PASSED [ 17%] tests/test_imagecodecs.py::test_avif_encoder[auto] SKIPPED (avif mis...) [ 17%] tests/test_imagecodecs.py::test_avif_encoder[aom] SKIPPED (avif missing) [ 17%] tests/test_imagecodecs.py::test_avif_encoder[rav1e] SKIPPED (avif mi...) [ 17%] tests/test_imagecodecs.py::test_avif_encoder[svt] SKIPPED (avif missing) [ 17%] tests/test_imagecodecs.py::test_jpegls_decode[new] SKIPPED (jpegls m...) [ 17%] tests/test_imagecodecs.py::test_jpegls_decode[out] SKIPPED (jpegls m...) [ 17%] tests/test_imagecodecs.py::test_jpegls_decode[bytearray] SKIPPED (jp...) [ 17%] tests/test_imagecodecs.py::test_brunsli_decode[new] SKIPPED (brunsli...) [ 17%] tests/test_imagecodecs.py::test_brunsli_decode[out] SKIPPED (brunsli...) [ 17%] tests/test_imagecodecs.py::test_brunsli_decode[bytearray] SKIPPED (b...) [ 17%] tests/test_imagecodecs.py::test_brunsli_encode_jpeg SKIPPED (brunsli...) [ 17%] tests/test_imagecodecs.py::test_webp_decode[new] PASSED [ 17%] tests/test_imagecodecs.py::test_webp_decode[out] PASSED [ 17%] tests/test_imagecodecs.py::test_webp_decode[bytearray] PASSED [ 17%] tests/test_imagecodecs.py::test_webp_animated[0] PASSED [ 17%] tests/test_imagecodecs.py::test_webp_animated[10] PASSED [ 17%] tests/test_imagecodecs.py::test_webp_animated[-2] PASSED [ 17%] tests/test_imagecodecs.py::test_webp_opaque PASSED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode0-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode0-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode1-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode1-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode0-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode0-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode1-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode1-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode0-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode0-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode1-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode1-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode0-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode0-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode1-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode1-omp] FAILED [ 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 [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode1-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_sz3[float32-rgba-new-new] SKIPPED (s...) [ 22%] tests/test_imagecodecs.py::test_sz3[float32-rgba-new-out] SKIPPED (s...) [ 22%] tests/test_imagecodecs.py::test_sz3[float32-rgba-new-bytearray] SKIPPED [ 22%] tests/test_imagecodecs.py::test_sz3[float32-rgba-out-new] SKIPPED (s...) [ 22%] tests/test_imagecodecs.py::test_sz3[float32-rgba-out-out] SKIPPED (s...) [ 22%] tests/test_imagecodecs.py::test_sz3[float32-rgba-out-bytearray] SKIPPED [ 22%] tests/test_imagecodecs.py::test_sz3[float32-rgba-bytearray-new] SKIPPED [ 22%] tests/test_imagecodecs.py::test_sz3[float32-rgba-bytearray-out] SKIPPED [ 22%] tests/test_imagecodecs.py::test_sz3[float32-rgba-bytearray-bytearray] SKIPPED [ 22%] tests/test_imagecodecs.py::test_sz3[float32-view-new-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-new-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-out-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-new-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-new-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-out-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-new-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-new-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-out-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-new-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-new-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-out-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-new-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-new-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-out-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-new-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-new-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-out-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-new-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-new-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-out-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_decode[new] SKIPPED (ultrah...) [ 23%] tests/test_imagecodecs.py::test_ultrahdr_decode[out] SKIPPED (ultrah...) [ 23%] tests/test_imagecodecs.py::test_ultrahdr_decode[bytearray] SKIPPED (...) [ 23%] tests/test_imagecodecs.py::test_ultrahdr SKIPPED (ultrahdr missing) [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-new-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-new-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-out-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-out-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[view-new-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[view-new-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[view-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[view-out-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[view-out-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[view-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[view-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[view-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[view-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-new-new-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-new-new-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-new-new-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-new-out-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-new-out-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-new-out-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-out-new-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-out-new-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-out-new-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-out-out-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-out-out-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-out-out-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-bytearray-new-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-bytearray-new-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-bytearray-new-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-bytearray-out-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-bytearray-out-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-bytearray-out-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-new-new-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-new-new-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-new-new-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-new-out-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-new-out-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-new-out-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-out-new-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-out-new-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-out-new-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-out-out-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-out-out-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-out-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-bytearray-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-bytearray-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-bytearray-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-bytearray-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-bytearray-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-bytearray-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-new-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-new-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-new-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-new-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-new-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-new-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-out-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-out-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-out-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-out-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-out-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-out-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-bytearray-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-bytearray-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-bytearray-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-bytearray-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-bytearray-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-bytearray-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-new-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-new-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-new-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-new-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-new-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-new-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-out-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-out-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-out-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-out-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-out-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-out-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-bytearray-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-bytearray-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-bytearray-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-bytearray-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-bytearray-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-bytearray-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-new-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-new-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-new-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-new-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-new-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-new-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-out-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-out-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-out-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-out-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-out-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-out-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-bytearray-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-bytearray-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-bytearray-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-bytearray-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-bytearray-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-bytearray-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-new-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-new-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-new-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-new-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-new-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-new-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-out-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-out-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-out-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-out-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-out-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-out-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-bytearray-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-bytearray-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-bytearray-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-bytearray-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-bytearray-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-bytearray-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-new-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-new-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-new-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-new-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-new-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-new-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-out-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-out-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-out-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-out-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-out-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-out-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-bytearray-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-bytearray-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-bytearray-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-bytearray-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-bytearray-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-bytearray-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-new-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-new-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-new-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-new-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-new-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-new-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-out-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-out-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-out-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-out-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-out-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-out-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-bytearray-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-bytearray-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-bytearray-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-bytearray-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-bytearray-out-psnr] SKIPPED [ 25%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-bytearray-out-pwe] SKIPPED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_files[world.lerc1] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_files[california_400_400_1_float.lerc2] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_files[bluemarble_256_256_3_byte.lerc2] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_files[zstd.lerc2] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_compression[None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_compression[zstd] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_compression[deflate] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_masks FAILED [ 34%] tests/test_imagecodecs.py::test_jpeg2k_int8_4bit[new] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_int8_4bit[out] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_int8_4bit[bytearray] SKIPPED [ 34%] tests/test_imagecodecs.py::test_jpeg2k_ycbc SKIPPED (jpeg2k missing) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_codecformat[0] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_codecformat[2] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_numthreads[1] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_numthreads[2] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_reversible[False] SKIPPED (jp...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_reversible[True] SKIPPED (jpe...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_mct[False] SKIPPED (jpeg2k mi...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_mct[True] SKIPPED (jpeg2k mis...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_samples SKIPPED (jpeg2k missing) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_realloc SKIPPED (jpeg2k missing) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_trailing_bytes SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u1-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u1-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u2-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u2-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u4-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u4-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i1-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i1-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i2-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i2-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i4-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i4-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u1-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u1-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u2-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u2-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u4-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u4-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i1-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i1-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i2-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i2-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i4-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i4-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-new-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-new-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-new-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-out-90] PASSED [ 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 [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-new-None] PASSED [ 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 [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-bytearray-None] PASSED [ 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_jpegxs[None-uint8] SKIPPED (jpegxs m...) [ 39%] tests/test_imagecodecs.py::test_jpegxs[None-uint16] SKIPPED (jpegxs ...) [ 39%] tests/test_imagecodecs.py::test_jpegxs[p=MLS.12;nlx=2;nly=2-uint8] SKIPPED [ 39%] tests/test_imagecodecs.py::test_jpegxs[p=MLS.12;nlx=2;nly=2-uint16] SKIPPED [ 39%] tests/test_imagecodecs.py::test_jpegxs_fail SKIPPED (jpegxs missing) [ 39%] tests/test_imagecodecs.py::test_png_encode_fast PASSED [ 39%] tests/test_imagecodecs.py::test_apng_encode_fast SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_png_error PASSED [ 39%] tests/test_imagecodecs.py::test_apng_error SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[1-uint8] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[1-uint16] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[2-uint8] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[2-uint16] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[3-uint8] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[3-uint16] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[4-uint8] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[4-uint16] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_image_strided[jpeg] PASSED [ 39%] tests/test_imagecodecs.py::test_image_strided[png] PASSED [ 39%] tests/test_imagecodecs.py::test_image_strided[webp] PASSED [ 39%] tests/test_imagecodecs.py::test_image_strided[jpegxl] SKIPPED (jpegx...) [ 39%] tests/test_imagecodecs.py::test_image_strided[jpeg2k] SKIPPED (jpeg2...) [ 39%] tests/test_imagecodecs.py::test_image_strided[jpegxr] PASSED [ 39%] tests/test_imagecodecs.py::test_image_strided[avif] PASSED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-new-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-new-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-new--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-out-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-out-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-out--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-view-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-view-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-view--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-bytearray-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-bytearray-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-bytearray--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-new-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-new-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-new--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-out-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-out-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-out--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-view-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-view-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-view--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-bytearray-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-bytearray-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-bytearray--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-new-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-new-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-new--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-out-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-out-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-out--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-view-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-view-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-view--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-new-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-new-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-new--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-out-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-out-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-out--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-view-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-view-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-view--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-bytearray-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-bytearray-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-bytearray--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-new-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-new-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-new--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-out-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-out-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-out--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-view-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-view-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-view--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-bytearray-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-bytearray-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-bytearray--1] SKIPPED [ 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 [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-out-5] SKIPPED [ 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 [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-bytearray-None] SKIPPED [ 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 [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-new-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-new-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-new--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-out-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-out-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-out--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-view-None] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-view-5] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-view--1] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-bytearray-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-bytearray-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-bytearray--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-new-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-new-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-new--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-out-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-out-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-out--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-view-None] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-view-5] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-view--1] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-bytearray-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-bytearray-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-bytearray--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-new-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-new-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-new--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-out-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-out-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-out--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-view-None] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-view-5] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-view--1] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-bytearray-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-bytearray-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-bytearray--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-new-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-new-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-new--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-out-None] PASSED [ 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 [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-new-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-new-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-new--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-out-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-out-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-out--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-bytearray-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-bytearray-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-bytearray--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-new-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-new-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-new--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-out-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-out-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-out--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-bytearray-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-bytearray-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-bytearray--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-new-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-new-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-new--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-out-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-out-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-out--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-bytearray-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-bytearray-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-bytearray--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-new-5] XFAIL [ 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 [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-bytearray-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-bytearray--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-new-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-new--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-out-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-out--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-bytearray-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-bytearray--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-new-None] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-new-5] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-new--1] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-out-None] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-out-5] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-out--1] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-bytearray-None] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-bytearray-5] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-bytearray--1] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-new-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-out-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-bytearray-None] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-bytearray-5] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-bytearray--1] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-new-None] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-new-5] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-new--1] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-out-None] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-out-5] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-out--1] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-bytearray-None] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-bytearray-5] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-bytearray--1] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-new-None] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-new-5] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-new--1] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-out-None] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-out-5] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-out--1] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-bytearray-None] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-bytearray-5] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-bytearray--1] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-new-None] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-new-5] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-new--1] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-out-None] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-out-5] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-out--1] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-bytearray-None] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-bytearray-5] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-bytearray--1] PASSED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-new-None] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-new-5] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-new--1] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-out-None] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-out-5] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-out--1] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray-None] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray-5] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray--1] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-bytearray-5] XFAIL [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-bytearray--1] XFAIL [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-new-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-new--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-out-None] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-out-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-out--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-view-None] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-view-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-view--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-bytearray-None] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-bytearray-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-bytearray--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-new-None] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-new-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-new--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-out-None] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-out-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-out--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-view-None] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-view-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-view--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-bytearray-None] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-bytearray-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-bytearray--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-new-None] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-new-5] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-new--1] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-out-None] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-out-5] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-out--1] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-bytearray-None] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-bytearray-5] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-bytearray--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-new-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-new-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-new--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-out-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-out-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-out--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-bytearray-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-bytearray-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-bytearray--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-new-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-new-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-new--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-out-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-out-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-out--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-bytearray-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-bytearray-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-bytearray--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-new-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-new-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-new--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-out-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-out-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-out--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-bytearray-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-bytearray-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-bytearray--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-new-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-new-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-new--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-out-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-out-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-out--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-bytearray-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-bytearray-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-bytearray--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-new-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-new-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-new--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-out-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-out-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-out--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-bytearray-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-bytearray-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-bytearray--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-new-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-new-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-new--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-out-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-out-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-out--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-bytearray-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-bytearray-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-bytearray--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-new-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-new-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-new--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-out-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-out-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-out--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-bytearray-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-bytearray-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-bytearray--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-new-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-new-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-new--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-out-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-out-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-out--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-bytearray-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-bytearray-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-bytearray--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-new-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-new-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-new--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-out-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-out-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-out--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-bytearray-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-bytearray-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-bytearray--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-new-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-new-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-new--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-out-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-out-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-out--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-bytearray-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-bytearray-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-bytearray--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-new-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-new-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-new--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-out-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-out-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-out--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-bytearray-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-bytearray-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-bytearray--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-new-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-new-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-new--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-out-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-out-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-out--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-bytearray-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-bytearray-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-bytearray--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-new-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-new-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-new--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-out-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-out-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-out--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-bytearray-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-bytearray-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-bytearray--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-new-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-new-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-new--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-out-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-out-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-out--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-bytearray-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-bytearray-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-bytearray--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-new-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-new-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-new--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-out-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-out-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-out--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-bytearray-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-bytearray-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-bytearray--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-new-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-new-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-new--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-out-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-out-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-out--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-bytearray-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-bytearray-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-bytearray--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-new-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-new-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-new--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-out-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-out-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-out--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-bytearray-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-bytearray-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-bytearray--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-new-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-new-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-new--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-out-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-out-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-out--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-bytearray-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-bytearray-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-bytearray--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-new-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-new-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-new--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-out-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-out-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-out--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-out--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-bytearray-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-bytearray-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-bytearray--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-out--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-bytearray-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-bytearray-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-bytearray--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-out--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-bytearray-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-bytearray-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-bytearray--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-out--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-bytearray-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-bytearray-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-bytearray--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-out--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-bytearray-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-bytearray-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-bytearray--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-out-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-out-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-out--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-bytearray-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-bytearray-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-bytearray--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-new-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-new-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-new--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-out-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-out-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-out--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-view-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-view-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-view--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-bytearray-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-bytearray-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-bytearray--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-new-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-new-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-new--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-out-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-out-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-out--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-view-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-view-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-view--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-bytearray-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-bytearray-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-bytearray--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-new-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-new-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-new--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-out-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-out-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-out--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-view-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-view-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-view--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-bytearray-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-bytearray-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-bytearray--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-new-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-new-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-new--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-out-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-out-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-out--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-view-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-view-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-view--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-bytearray-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-bytearray-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-bytearray--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-new-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-new-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-new--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-out-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-out-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-out--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-view-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-view-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-view--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-bytearray-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-bytearray-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-bytearray--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-new-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-new-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-new--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-out-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-out-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-out--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-view-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-view-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-view--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-bytearray-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-bytearray-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-bytearray--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-new-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-new-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-new--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-out-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-out-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-out--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-view-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-view-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-view--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-bytearray-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-bytearray-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-bytearray--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-new-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-new-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-new--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-out-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-out-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-out--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-bytearray-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-bytearray-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-bytearray--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-new-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-new-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-new--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-out-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-out-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-out--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-bytearray-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-bytearray-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-bytearray--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-new-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-new-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-new--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-out-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-out-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-out--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-bytearray-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-bytearray-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-bytearray--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-new-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-new-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-new--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-out-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-out-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-out--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-bytearray-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-bytearray-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-bytearray--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-new-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-new-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-new--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-out-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-out-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-out--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-bytearray-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-bytearray-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-bytearray--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-new-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-new-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-new--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-out-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-out-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-out--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-bytearray-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-bytearray-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-bytearray--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-new-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-new-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-new--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-out-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-out-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-out--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-bytearray-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-bytearray-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-bytearray--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-new-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-new-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-new--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-out-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-out-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-out--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-bytearray-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-bytearray-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-bytearray--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-new-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-new-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-new--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-out-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-out-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-out--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-bytearray-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-bytearray-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-bytearray--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-new-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-new-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-new--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-out-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-out-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-out--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-bytearray-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-bytearray-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-bytearray--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-new-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-new-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-new--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-out-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-out-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-out--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-bytearray-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-bytearray-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-bytearray--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-new-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-new-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-new--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-out-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-out-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-out--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-bytearray-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-bytearray-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-bytearray--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-new-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-new-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-new--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-out-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-out-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-out--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-bytearray-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-bytearray-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-bytearray--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-new-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-new-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-new--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-out-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-out-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-out--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-bytearray-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-bytearray-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-bytearray--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-new-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-new-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-new--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-out-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-out-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-out--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-bytearray-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-bytearray-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-bytearray--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-new-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-new-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-new--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-out-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-out-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-out--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-bytearray-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-bytearray-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-bytearray--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-new-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-new-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-new--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-out-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-out-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-out--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-bytearray-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-bytearray-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-bytearray--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-new-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-new-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-new--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-out-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-out-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-out--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-bytearray-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-bytearray-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-bytearray--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-new-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-new-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-new--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-out-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-out-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-out--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-bytearray-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-bytearray-5] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-bytearray--1] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-new-None] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-new-5] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-new--1] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-out-None] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-out-5] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-out--1] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-view-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-view-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-view--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-bytearray-None] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-bytearray-5] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-bytearray--1] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-new-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-new-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-new--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-out-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-out-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-out--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-view-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-view-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-view--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-bytearray-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-bytearray-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-bytearray--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-new-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-new-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-new--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-out-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-out-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-out--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-view-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-view-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-view--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-bytearray-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-bytearray-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-bytearray--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-new-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-new-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-new--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-out-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-out-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-out--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-view-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-view-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-view--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-bytearray-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-bytearray-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-bytearray--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-view--1] SKIPPED [ 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 [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-new--1] SKIPPED [ 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 [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-view-5] SKIPPED [ 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 [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-new-None] SKIPPED [ 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 [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-out--1] SKIPPED [ 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 [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-new-None] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-new-5] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-new--1] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-out-None] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-out-5] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-out--1] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-view-None] XFAIL [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-view-5] XFAIL [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-view--1] XFAIL [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-bytearray-None] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-bytearray-5] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-bytearray--1] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-new-None] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-new-5] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-new--1] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-out-None] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-out-5] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-out--1] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-view-None] XFAIL [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-view-5] XFAIL [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-view--1] XFAIL [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-bytearray-None] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-bytearray-5] PASSED [ 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 [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-out-5] PASSED [ 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 [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-new-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-new-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-new--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-out-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-out-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-out--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-bytearray-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-bytearray-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-bytearray--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-new-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-new-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-new--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-out-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-out-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-out--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-bytearray-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-bytearray-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-bytearray--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-bytearray-None] PASSED [ 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 [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-new-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-new-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-new--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-out-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-out-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-out--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-bytearray-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-bytearray-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-bytearray--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-new-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-new-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-new--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-out-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-out-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-out--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-bytearray-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-bytearray-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-bytearray--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-new-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-new-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-new--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-out-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-out-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-out--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-bytearray-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-bytearray-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-bytearray--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-new-None] SKIPPED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-new-5] SKIPPED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-new-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-new--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-out-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-out-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-out--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-view-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-view-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-view--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-bytearray-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-bytearray-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-bytearray--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-new-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-new-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-new--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-out-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-out-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-out--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-view-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-view-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-view--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-bytearray-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-bytearray-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-bytearray--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-new-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-new-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-new--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-out-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-out-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-out--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-view-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-view-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-view--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-bytearray-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-bytearray-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-bytearray--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-new-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-new-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-new--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-out-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-out-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-out--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-view-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-view-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-view--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-bytearray-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-bytearray-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-bytearray--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-new-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-new-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-new--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-out-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-out-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-out--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-view-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-view-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-view--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-bytearray-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-bytearray-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-bytearray--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-out--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-view-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-view-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-view--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-bytearray-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-bytearray-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-bytearray--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-new-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-new-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-new--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-out-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-out-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-out--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-view-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-view-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-view--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-bytearray-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-bytearray-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-bytearray--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-new-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-new-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-new--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-out-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-out-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-out--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-view-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-view-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-view--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-bytearray-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-bytearray-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-bytearray--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-new-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-new-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-new--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-out-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-out-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-out--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-view-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-view-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-view--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-bytearray-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-bytearray-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-bytearray--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-new-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-new-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-new--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-out-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-out-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-out--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-view-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-view-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-view--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-bytearray-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-bytearray-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-bytearray--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-new-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-new-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-new--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-out-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-out-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-out--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-view-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-view-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-view--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-bytearray-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-bytearray-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-bytearray--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-new-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-new-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-new--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-out-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-out-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-out--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-view-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-view-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-view--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-bytearray-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-bytearray-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-bytearray--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-out--1] SKIPPED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-view-None] SKIPPED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-view-5] SKIPPED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-view--1] SKIPPED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-bytearray-None] SKIPPED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-bytearray-5] SKIPPED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-bytearray--1] SKIPPED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-bytearray-5] PASSED [ 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 [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-out-None] XFAIL [ 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 [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-bytearray-None] XFAIL [ 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 [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.depth.u1-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.depth.u1-True] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.f2-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.f4-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.f8-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.i1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.i2-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.i4-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.i8-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.lzma.u1-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.lzma.u1-True] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.lzma.u2-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.lzma.u2-True] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.none.u1-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.none.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.b1-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.b1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.f2-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.f4-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.f8-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i1-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i2-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i2-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i4-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i4-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i8-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i8-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u1-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u2-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u2-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u4-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u4-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u8-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u8-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u1-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u2-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u2-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.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.jpeg2000.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg2000.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpegxl.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpegxl.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpegxr.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpegxr.u1-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.lzw.u1-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lzw.u1-True] PASSED [ 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.png.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.png.u1-True] XFAIL [ 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 [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f4-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f4->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u1->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f2-<] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f2->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f4-<] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f4->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u1->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f4-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f4->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u1->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f2-<] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f2->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f4-<] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f4->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-u1->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-u2-<] XFAIL (dty...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-u2->] XFAIL (dty...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-f2-<] XFAIL (dty...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-f2->] XFAIL (dty...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-f4-<] XFAIL (dty...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-f4->] XFAIL (dty...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-u1-<] XFAIL (webp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-u1->] XFAIL (webp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-u2-<] XFAIL (dtyp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-u2->] XFAIL (dtyp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-f2-<] XFAIL (dtyp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-f2->] XFAIL (dtyp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-f4-<] XFAIL (dtyp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-f4->] XFAIL (dtyp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-u1-<] FAILED [ 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 [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f2-<] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f4-<] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f4->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile_ljpeg[u1] SKIPPED (tifffile...) [ 98%] tests/test_imagecodecs.py::test_czifile SKIPPED (czifile missing) [ 98%] tests/test_imagecodecs.py::test_numcodecs_register PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[aec-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[aec-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[aec-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[apng-gray] SKIPPED (apng n...) [ 98%] tests/test_imagecodecs.py::test_numcodecs[apng-rgb] SKIPPED (apng no...) [ 98%] tests/test_imagecodecs.py::test_numcodecs[apng-stack] SKIPPED (apng ...) [ 98%] tests/test_imagecodecs.py::test_numcodecs[avif-gray] XFAIL (AVIF doe...) [ 98%] tests/test_imagecodecs.py::test_numcodecs[avif-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[avif-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bitorder-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bitorder-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bitorder-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bitshuffle-gray] SKIPPED (...) [ 98%] tests/test_imagecodecs.py::test_numcodecs[bitshuffle-rgb] SKIPPED (b...) [ 98%] tests/test_imagecodecs.py::test_numcodecs[bitshuffle-stack] SKIPPED [ 98%] tests/test_imagecodecs.py::test_numcodecs[blosc-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[blosc-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[blosc-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[blosc2-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[blosc2-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[blosc2-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bmp-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bmp-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bmp-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[byteshuffle-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[byteshuffle-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[byteshuffle-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bz2-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bz2-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bz2-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[deflate-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[deflate-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[deflate-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[delta-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[delta-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[delta-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[float24-gray] FAILED [ 98%] tests/test_imagecodecs.py::test_numcodecs[float24-rgb] FAILED [ 98%] tests/test_imagecodecs.py::test_numcodecs[float24-stack] FAILED [ 98%] tests/test_imagecodecs.py::test_numcodecs[floatpred-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[floatpred-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[floatpred-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[gif-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[gif-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[gif-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[lz4h5-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[lz4h5-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4h5-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg12-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg12-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg12-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg2k-gray] SKIPPED (jpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg2k-rgb] SKIPPED (jpeg2...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg2k-stack] SKIPPED (jpe...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegls-gray] SKIPPED (jpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegls-rgb] SKIPPED (jpegl...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegls-stack] SKIPPED (jpe...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxl-gray] SKIPPED (jpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxl-rgb] SKIPPED (jpegx...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxl-stack] SKIPPED (jpe...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxr-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxr-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxr-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxs-gray] SKIPPED (jpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxs-rgb] SKIPPED (jpegx...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxs-stack] SKIPPED (jpe...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lerc-gray] FAILED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lerc-rgb] FAILED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lerc-stack] FAILED [ 99%] tests/test_imagecodecs.py::test_numcodecs[ljpeg-gray] SKIPPED (ljpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[ljpeg-rgb] SKIPPED (ljpeg ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[ljpeg-stack] SKIPPED (ljpe...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4f-gray] SKIPPED (lz4f n...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4f-rgb] SKIPPED (lz4f no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4f-stack] SKIPPED (lz4f ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzf-gray] SKIPPED (lzf not...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzf-rgb] SKIPPED (lzf not ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzf-stack] SKIPPED (lzf no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzfse-gray] SKIPPED (lzfse...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzfse-rgb] SKIPPED (lzfse ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzfse-stack] SKIPPED (lzfs...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzham-gray] SKIPPED (lzham...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzham-rgb] SKIPPED (lzham ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzham-stack] SKIPPED (lzha...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzma-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzma-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzma-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzw-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzw-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzw-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[packbits-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[packbits-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[packbits-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[pcodec-gray] SKIPPED (pcod...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[pcodec-rgb] SKIPPED (pcode...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[pcodec-stack] SKIPPED (pco...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[pglz-gray] SKIPPED (pglz n...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[pglz-rgb] SKIPPED (pglz no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[pglz-stack] SKIPPED (pglz ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[png-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[png-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[png-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[qoi-gray] SKIPPED (qoi not...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[qoi-rgb] SKIPPED (qoi not ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[qoi-stack] SKIPPED (qoi no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rgbe-gray] SKIPPED (rgbe n...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rgbe-rgb] SKIPPED (rgbe no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rgbe-stack] SKIPPED (rgbe ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rcomp-gray] SKIPPED (rcomp...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rcomp-rgb] SKIPPED (rcomp ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rcomp-stack] SKIPPED (rcom...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[snappy-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[snappy-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[snappy-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[sperr-gray] SKIPPED (sperr...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[sperr-rgb] SKIPPED (sperr ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[sperr-stack] SKIPPED (sper...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[spng-gray] SKIPPED (spng n...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[spng-rgb] SKIPPED (spng no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[spng-stack] SKIPPED (spng ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[sz3-gray] SKIPPED (sz3 not...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[sz3-rgb] SKIPPED (sz3 not ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[sz3-stack] SKIPPED (sz3 no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[szip-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[szip-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[szip-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[tiff-gray] XFAIL (TIFF enc...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[tiff-rgb] XFAIL (TIFF enco...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[tiff-stack] XFAIL (TIFF en...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[ultrahdr-gray] SKIPPED (ul...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[ultrahdr-rgb] SKIPPED (ult...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[ultrahdr-stack] SKIPPED (u...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[webp-gray] XFAIL (WebP doe...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[webp-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[webp-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[xor-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[xor-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[xor-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zfp-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zfp-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zfp-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zlib-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zlib-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zlib-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zlibng-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zlibng-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zlibng-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zopfli-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zopfli-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zopfli-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zstd-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zstd-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zstd-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_jpeg8_large SKIPPED (large file not ...) [100%] =================================== FAILURES =================================== _____________________________ test_packints_decode _____________________________ @pytest.mark.skipif( not imagecodecs.PACKINTS.available, reason='Packints missing' ) def test_packints_decode(): """Test PackInts decoder.""" decode = imagecodecs.packints_decode decoded = decode(b'', 'B', 1) assert len(decoded) == 0 decoded = decode(b'a', 'B', 1) assert tuple(decoded) == (0, 1, 1, 0, 0, 0, 0, 1) decoded = decode(b'ab', 'B', 2) assert tuple(decoded) == (1, 2, 0, 1, 1, 2, 0, 2) decoded = decode(b'abcd', 'B', 3) > assert tuple(decoded) == (3, 0, 2, 6, 1, 1, 4, 3, 3, 1) E AssertionError: assert (np.uint8(0),...uint8(0), ...) == (3, 0, 2, 6, 1, 1, ...) E E At index 0 diff: np.uint8(0) != 3 E E Full diff: E ( E - 3, E - 0,... E E ...Full output truncated (19 lines hidden), use '-vv' to show tests/test_imagecodecs.py:390: AssertionError ___________________________ test_dicomrle[False-=-0] ___________________________ data = 0, byteorder = '=', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x01\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False-=-1] ___________________________ data = 1, byteorder = '=', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x03\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff\x05\xff\xc0\x80@\x00\xff\x05\x01@\x80\xa0\xc0\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False-=-2] ___________________________ data = 2, byteorder = '=', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x02\x00\x00\x00@\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False-=-3] ___________________________ data = 3, byteorder = '=', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x06\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff\x05\xff\x00\x01\x00\xff\x00\x05\xff\x01\x00\xff\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x01\x01\x00\xff\x00\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False-=-4] ___________________________ data = 4, byteorder = '=', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x04\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False-=-5] ___________________________ data = 5, byteorder = '=', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x0c\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00j\x00\x00\x00q\x00\x00\x00x\x00\x00\x00\x7f\x00\x00\x00\x86\x00\x00\x00\x8d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff\x05\xff\x01\x00\x00\x00\x00\x05\xff\x00\x01\x00\x00\x00\x05\xff\x00\x00\x01\x00\x00\x05\xff\x00\x00\x00\x01\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x01\x00\x00\x00\x01\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False-<-0] ___________________________ data = 0, byteorder = '<', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x01\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False-<-1] ___________________________ data = 1, byteorder = '<', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x03\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff\x05\xff\xc0\x80@\x00\xff\x05\x01@\x80\xa0\xc0\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False-<-2] ___________________________ data = 2, byteorder = '<', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x02\x00\x00\x00@\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False-<-3] ___________________________ data = 3, byteorder = '<', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x06\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff\x05\xff\x00\x01\x00\xff\x00\x05\xff\x01\x00\xff\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x01\x01\x00\xff\x00\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False-<-4] ___________________________ data = 4, byteorder = '<', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x04\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False-<-5] ___________________________ data = 5, byteorder = '<', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x0c\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00j\x00\x00\x00q\x00\x00\x00x\x00\x00\x00\x7f\x00\x00\x00\x86\x00\x00\x00\x8d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff\x05\xff\x01\x00\x00\x00\x00\x05\xff\x00\x01\x00\x00\x00\x05\xff\x00\x00\x01\x00\x00\x05\xff\x00\x00\x00\x01\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x01\x00\x00\x00\x01\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False->-0] ___________________________ data = 0, byteorder = '>', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x01\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False->-1] ___________________________ data = 1, byteorder = '>', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x03\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff\x05\xff\xc0\x80@\x00\xff\x05\x01@\x80\xa0\xc0\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False->-2] ___________________________ data = 2, byteorder = '>', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x02\x00\x00\x00@\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False->-3] ___________________________ data = 3, byteorder = '>', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x06\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff\x05\xff\x00\x01\x00\xff\x00\x05\xff\x01\x00\xff\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x01\x01\x00\xff\x00\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False->-4] ___________________________ data = 4, byteorder = '>', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x04\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[False->-5] ___________________________ data = 5, byteorder = '>', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x0c\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00j\x00\x00\x00q\x00\x00\x00x\x00\x00\x00\x7f\x00\x00\x00\x86\x00\x00\x00\x8d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff\x05\xff\x01\x00\x00\x00\x00\x05\xff\x00\x01\x00\x00\x00\x05\xff\x00\x00\x01\x00\x00\x05\xff\x00\x00\x00\x01\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x01\x00\x00\x00\x01\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True-=-0] ____________________________ data = 0, byteorder = '=', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x01\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True-=-1] ____________________________ data = 1, byteorder = '=', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x03\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff\x05\xff\xc0\x80@\x00\xff\x05\x01@\x80\xa0\xc0\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True-=-2] ____________________________ data = 2, byteorder = '=', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x02\x00\x00\x00@\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True-=-3] ____________________________ data = 3, byteorder = '=', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x06\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff\x05\xff\x00\x01\x00\xff\x00\x05\xff\x01\x00\xff\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x01\x01\x00\xff\x00\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True-=-4] ____________________________ data = 4, byteorder = '=', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x04\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True-=-5] ____________________________ data = 5, byteorder = '=', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x0c\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00j\x00\x00\x00q\x00\x00\x00x\x00\x00\x00\x7f\x00\x00\x00\x86\x00\x00\x00\x8d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff\x05\xff\x01\x00\x00\x00\x00\x05\xff\x00\x01\x00\x00\x00\x05\xff\x00\x00\x01\x00\x00\x05\xff\x00\x00\x00\x01\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x01\x00\x00\x00\x01\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True-<-0] ____________________________ data = 0, byteorder = '<', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x01\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True-<-1] ____________________________ data = 1, byteorder = '<', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x03\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff\x05\xff\xc0\x80@\x00\xff\x05\x01@\x80\xa0\xc0\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True-<-2] ____________________________ data = 2, byteorder = '<', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x02\x00\x00\x00@\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True-<-3] ____________________________ data = 3, byteorder = '<', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x06\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff\x05\xff\x00\x01\x00\xff\x00\x05\xff\x01\x00\xff\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x01\x01\x00\xff\x00\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True-<-4] ____________________________ data = 4, byteorder = '<', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x04\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True-<-5] ____________________________ data = 5, byteorder = '<', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x0c\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00j\x00\x00\x00q\x00\x00\x00x\x00\x00\x00\x7f\x00\x00\x00\x86\x00\x00\x00\x8d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff\x05\xff\x01\x00\x00\x00\x00\x05\xff\x00\x01\x00\x00\x00\x05\xff\x00\x00\x01\x00\x00\x05\xff\x00\x00\x00\x01\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x01\x00\x00\x00\x01\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True->-0] ____________________________ data = 0, byteorder = '>', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x01\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True->-1] ____________________________ data = 1, byteorder = '>', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x03\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff\x05\xff\xc0\x80@\x00\xff\x05\x01@\x80\xa0\xc0\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True->-2] ____________________________ data = 2, byteorder = '>', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x02\x00\x00\x00@\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True->-3] ____________________________ data = 3, byteorder = '>', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x06\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff\x05\xff\x00\x01\x00\xff\x00\x05\xff\x01\x00\xff\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x01\x01\x00\xff\x00\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True->-4] ____________________________ data = 4, byteorder = '>', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x04\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle[True->-5] ____________________________ data = 5, byteorder = '>', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x0c\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00j\x00\x00\x00q\x00\x00\x00x\x00\x00\x00\x7f\x00\x00\x00\x86\x00\x00\x00\x8d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff\x05\xff\x01\x00\x00\x00\x00\x05\xff\x00\x01\x00\x00\x00\x05\xff\x00\x00\x01\x00\x00\x05\xff\x00\x00\x00\x01\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x01\x00\x00\x00\x01\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:658: AssertionError ___________________________ test_dicomrle_numcodecs ____________________________ @pytest.mark.skipif( not imagecodecs.DICOMRLE.available or SKIP_NUMCODECS, reason='zarr or numcodecs missing', ) def test_dicomrle_numcodecs(): """Test DICOMRLE decoding with numcodecs.""" from imagecodecs.numcodecs import Dicomrle encoded, result = DICOMRLE_DATA[-1] > decoded = Dicomrle(dtype=' raise ValueError(f'invalid DICOM RLE {header.segments=}') E ValueError: invalid DICOM RLE header.segments=201326592 imagecodecs/_imcd.pyx:900: ValueError _____________________ test_floatpred[False-be-encode-new] ______________________ planar = False, endian = 'be', output = 'new', codec = 'encode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, reason='FloatPred missing' ) @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': > assert_array_equal(encode(data, axis=axis), encoded) tests/test_imagecodecs.py:877: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 8.85066e-39, 8.08164e-39, -7.32834e-15], [-6.90835e+36, 9.55147e-38, 9.55147e-38], [-2.6...], [ 0. , 0. , 0. ], [ 0. , 0. , 0. ]]], shape=(33, 31, 3), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference among violations: 1.68812e+38 E Max relative difference among violations: inf E ACTUAL: array([[[ 8.850657e-39, 8.081641e-39, -7.328343e-15], E [-6.908352e+36, 9.551468e-38, 9.551468e-38], E [-2.695330e+35, 2.369428e-38, 2.369428e-38],... E DESIRED: array([[[ 0. , 0. , 0. ], E [ 0. , 0. , 0. ], E [ 0. , 0. , 0. ],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError _____________________ test_floatpred[False-be-encode-out] ______________________ planar = False, endian = 'be', output = 'out', codec = 'encode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, reason='FloatPred missing' ) @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) > assert_array_equal(out, encoded) tests/test_imagecodecs.py:886: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 8.85066e-39, 8.08164e-39, -7.32834e-15], [-6.90835e+36, 9.55147e-38, 9.55147e-38], [-2.6...], [ 0. , 0. , 0. ], [ 0. , 0. , 0. ]]], shape=(33, 31, 3), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference among violations: 1.68812e+38 E Max relative difference among violations: inf E ACTUAL: array([[[ 8.850657e-39, 8.081641e-39, -7.328343e-15], E [-6.908352e+36, 9.551468e-38, 9.551468e-38], E [-2.695330e+35, 2.369428e-38, 2.369428e-38],... E DESIRED: array([[[ 0. , 0. , 0. ], E [ 0. , 0. , 0. ], E [ 0. , 0. , 0. ],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError _____________________ test_floatpred[False-be-decode-new] ______________________ planar = False, endian = 'be', output = 'new', codec = 'decode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, reason='FloatPred missing' ) @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': > assert_array_equal(decode(encoded, axis=axis), data) tests/test_imagecodecs.py:875: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 0.00000e+00, 1.23169e+20, 1.22881e+20], [ 4.82990e-34, 1.23169e+20, -6.62007e-05], [ 4.8....99772], [0.99804, 0.99837, 0.9987 ], [0.99902, 0.99935, 0.99967]]], shape=(33, 31, 3), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[ 0.000000e+00, 1.231694e+20, 1.228812e+20], E [ 4.829898e-34, 1.231695e+20, -6.620069e-05], E [ 4.814852e-34, -2.329079e-07, 1.228812e+20],... E DESIRED: array([[[0. , 0.000326, 0.000652], E [0.000978, 0.001303, 0.001629], E [0.001955, 0.002281, 0.002607],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError _____________________ test_floatpred[False-be-decode-out] ______________________ planar = False, endian = 'be', output = 'out', codec = 'decode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, reason='FloatPred missing' ) @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) > assert_array_equal(out, data) tests/test_imagecodecs.py:882: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 0.00000e+00, 1.23169e+20, 1.22881e+20], [ 4.82990e-34, 1.23169e+20, -6.62007e-05], [ 4.8....99772], [0.99804, 0.99837, 0.9987 ], [0.99902, 0.99935, 0.99967]]], shape=(33, 31, 3), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[ 0.000000e+00, 1.231694e+20, 1.228812e+20], E [ 4.829898e-34, 1.231695e+20, -6.620069e-05], E [ 4.814852e-34, -2.329079e-07, 1.228812e+20],... E DESIRED: array([[[0. , 0.000326, 0.000652], E [0.000978, 0.001303, 0.001629], E [0.001955, 0.002281, 0.002607],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_floatpred[True-be-encode-new] ______________________ planar = True, endian = 'be', output = 'new', codec = 'encode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, reason='FloatPred missing' ) @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) assert_array_equal(out, encoded) else: axis = -1 data = numpy.ascontiguousarray(numpy.moveaxis(data, 2, 0)) if endian == 'le': encoded = numpy.fromfile( datafiles('rrggbb.floatpred_le.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rrggbb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(3, 33, 31) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': > assert_array_equal(encode(data, axis=axis), encoded) tests/test_imagecodecs.py:919: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 7.34690e-40, -2.70016e+36, -1.67457e+35, ..., 0.00000e+00, 0.00000e+00, 0.00000e+00], [... [ 0.5 , 0. , 0. , ..., 0. , 0. , 0. ]]], shape=(3, 33, 31), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference among violations: 2.12843e+38 E Max relative difference among violations: inf E ACTUAL: array([[[ 7.346896e-40, -2.700157e+36, -1.674567e+35, ..., E 0.000000e+00, 0.000000e+00, 0.000000e+00], E [ 9.781876e-29, 1.401298e-45, 1.401298e-45, ...,... E DESIRED: array([[[ 0. , 0. , 0. , ..., 0. , 0. , E 0. ], E [ 0.007874, 0. , 0. , ..., 0. , 0. ,... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_floatpred[True-be-encode-out] ______________________ planar = True, endian = 'be', output = 'out', codec = 'encode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, reason='FloatPred missing' ) @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) assert_array_equal(out, encoded) else: axis = -1 data = numpy.ascontiguousarray(numpy.moveaxis(data, 2, 0)) if endian == 'le': encoded = numpy.fromfile( datafiles('rrggbb.floatpred_le.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rrggbb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(3, 33, 31) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) > assert_array_equal(out, encoded) tests/test_imagecodecs.py:928: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 7.34690e-40, -2.70016e+36, -1.67457e+35, ..., 0.00000e+00, 0.00000e+00, 0.00000e+00], [... [ 0.5 , 0. , 0. , ..., 0. , 0. , 0. ]]], shape=(3, 33, 31), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference among violations: 2.12843e+38 E Max relative difference among violations: inf E ACTUAL: array([[[ 7.346896e-40, -2.700157e+36, -1.674567e+35, ..., E 0.000000e+00, 0.000000e+00, 0.000000e+00], E [ 9.781876e-29, 1.401298e-45, 1.401298e-45, ...,... E DESIRED: array([[[ 0. , 0. , 0. , ..., 0. , 0. , E 0. ], E [ 0.007874, 0. , 0. , ..., 0. , 0. ,... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_floatpred[True-be-decode-new] ______________________ planar = True, endian = 'be', output = 'new', codec = 'decode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, reason='FloatPred missing' ) @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) assert_array_equal(out, encoded) else: axis = -1 data = numpy.ascontiguousarray(numpy.moveaxis(data, 2, 0)) if endian == 'le': encoded = numpy.fromfile( datafiles('rrggbb.floatpred_le.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rrggbb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(3, 33, 31) if output == 'new': if codec == 'decode': > assert_array_equal(decode(encoded, axis=axis), data) tests/test_imagecodecs.py:917: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 0.00000e+00, 4.82990e-34, 4.81485e-34, ..., 2.27877e-30, 9.21523e-30, 9.31538e-30], [...96937], [0.97035, 0.97133, 0.9723 , ..., 0.99772, 0.9987 , 0.99967]]], shape=(3, 33, 31), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[ 0.000000e+00, 4.829898e-34, 4.814852e-34, ..., E 2.278772e-30, 9.215235e-30, 9.315383e-30], E [ 3.766213e-29, 4.814853e-34, 4.845416e-34, ...,... E DESIRED: array([[[0. , 0.000978, 0.001955, ..., 0.02737 , 0.028348, E 0.029326], E [0.030303, 0.031281, 0.032258, ..., 0.057674, 0.058651,... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_floatpred[True-be-decode-out] ______________________ planar = True, endian = 'be', output = 'out', codec = 'decode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, reason='FloatPred missing' ) @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) assert_array_equal(out, encoded) else: axis = -1 data = numpy.ascontiguousarray(numpy.moveaxis(data, 2, 0)) if endian == 'le': encoded = numpy.fromfile( datafiles('rrggbb.floatpred_le.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rrggbb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(3, 33, 31) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) > assert_array_equal(out, data) tests/test_imagecodecs.py:924: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 0.00000e+00, 4.82990e-34, 4.81485e-34, ..., 2.27877e-30, 9.21523e-30, 9.31538e-30], [...96937], [0.97035, 0.97133, 0.9723 , ..., 0.99772, 0.9987 , 0.99967]]], shape=(3, 33, 31), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[ 0.000000e+00, 4.829898e-34, 4.814852e-34, ..., E 2.278772e-30, 9.215235e-30, 9.315383e-30], E [ 3.766213e-29, 4.814853e-34, 4.845416e-34, ...,... E DESIRED: array([[[0. , 0.000978, 0.001955, ..., 0.02737 , 0.028348, E 0.029326], E [0.030303, 0.031281, 0.032258, ..., 0.057674, 0.058651,... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_float24[encode->-f30-f40-nan] ______________________ f3 = (127, 128, 0), f4 = (127, 192, 0, 0), f3_expected = nan, byteorder = '>' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x7f\x80\x00' E E At index 0 diff: b'\x00' != b'\x7f' E E Full diff: E - b'\x7f\x80\x00' E ? ^^ ^ E + b'\x00\x00\x00' E ? ^^ ^ tests/test_imagecodecs.py:1004: AssertionError ______________________ test_float24[encode->-f31-f41-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 192, 0, 0), f3_expected = nan, byteorder = '>' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xff\x80\x00' E E At index 0 diff: b'\x00' != b'\xff' E E Full diff: E - b'\xff\x80\x00' E ? ^^ ^ E + b'\x00\x00\x00' E ? ^^ ^ tests/test_imagecodecs.py:1004: AssertionError ______________________ test_float24[encode->-f32-f42-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 128, 0, 1), f3_expected = nan, byteorder = '>' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xff\x80\x00' E E At index 0 diff: b'\x00' != b'\xff' E E Full diff: E - b'\xff\x80\x00' E ? ^^ ^ E + b'\x00\x00\x00' E ? ^^ ^ tests/test_imagecodecs.py:1004: AssertionError ______________________ test_float24[encode->-f33-f43-inf] ______________________ f3 = (127, 0, 0), f4 = (127, 128, 0, 0), f3_expected = inf, byteorder = '>' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x7f\x00\x00' E E At index 0 diff: b'\x00' != b'\x7f' E E Full diff: E - b'\x7f\x00\x00' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:1004: AssertionError _____________________ test_float24[encode->-f34-f44--inf] ______________________ f3 = (255, 0, 0), f4 = (255, 128, 0, 0), f3_expected = -inf, byteorder = '>' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xff\x00\x00' E E At index 0 diff: b'\x00' != b'\xff' E E Full diff: E - b'\xff\x00\x00' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:1004: AssertionError _____________________ test_float24[encode->-f36-f46--0.0] ______________________ f3 = (128, 0, 0), f4 = (128, 0, 0, 0), f3_expected = -0.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x80\x00\x00' E E At index 0 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x80\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1004: AssertionError ______________________ test_float24[encode->-f37-f47-1.0] ______________________ f3 = (63, 0, 0), f4 = (63, 128, 0, 0), f3_expected = 1.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'?\x00\x00' E E At index 0 diff: b'\x00' != b'?' E E Full diff: E - b'?\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:1004: AssertionError _____________________ test_float24[encode->-f38-f48--1.0] ______________________ f3 = (191, 0, 0), f4 = (191, 128, 0, 0), f3_expected = -1.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xbf\x00\x00' E E At index 0 diff: b'\x00' != b'\xbf' E E Full diff: E - b'\xbf\x00\x00' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:1004: AssertionError ___________________ test_float24[encode->-f39-f49-3.1416016] ___________________ f3 = (64, 146, 32), f4 = (64, 73, 15, 219), f3_expected = 3.1416016 byteorder = '>', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xf6\x1e\x92' == b'@\x92 ' E E At index 0 diff: b'\xf6' != b'@' E E Full diff: E - b'@\x92 ' E + b'\xf6\x1e\x92' tests/test_imagecodecs.py:1004: AssertionError ________________ test_float24[encode->-f310-f410-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '>', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x0f\xa8\xa4' == b',\xa5\xa8' E E At index 0 diff: b'\x0f' != b',' E E Full diff: E - b',\xa5\xa8' E + b'\x0f\xa8\xa4' tests/test_imagecodecs.py:1004: AssertionError ________________ test_float24[encode->-f311-f411-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '>', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x0f\xa8\xa4' == b',\xa5\xa8' E E At index 0 diff: b'\x0f' != b',' E E Full diff: E - b',\xa5\xa8' E + b'\x0f\xa8\xa4' tests/test_imagecodecs.py:1004: AssertionError ____________________ test_float24[encode->-f312-f412-1e-19] ____________________ f3 = (0, 118, 15), f4 = (31, 236, 30, 74), f3_expected = 1e-19, byteorder = '>' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'T=\xd8' == b'\x00v\x0f' E E At index 0 diff: b'T' != b'\x00' E E Full diff: E - b'\x00v\x0f' E + b'T=\xd8' tests/test_imagecodecs.py:1004: AssertionError _____________________ test_float24[encode->-f313-f413-inf] _____________________ f3 = (127, 0, 0), f4 = (95, 128, 94, 154), f3_expected = inf, byteorder = '>' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x80\x00\x0e' == b'\x7f\x00\x00' E E At index 0 diff: b'\x80' != b'\x7f' E E Full diff: E - b'\x7f\x00\x00' E ? ^^ ^ E + b'\x80\x00\x0e' E ? ^^ ^ tests/test_imagecodecs.py:1004: AssertionError ________________ test_float24[encode->-f314-f414-1.0842022e-19] ________________ f3 = (0, 128, 0), f4 = (32, 0, 0, 0), f3_expected = 1.0842022e-19 byteorder = '>', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\x00' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1004: AssertionError ________________ test_float24[encode->-f315-f415-1.0842021e-19] ________________ f3 = (0, 128, 0), f4 = (31, 255, 255, 255), f3_expected = 1.0842021e-19 byteorder = '>', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xff\x80\x00' == b'\x00\x80\x00' E E At index 0 diff: b'\xff' != b'\x00' E E Full diff: E - b'\x00\x80\x00' E ? ^^ E + b'\xff\x80\x00' E ? ^^ tests/test_imagecodecs.py:1004: AssertionError ________________ test_float24[encode->-f316-f416-5.421011e-20] _________________ f3 = (0, 64, 0), f4 = (31, 128, 0, 0), f3_expected = 5.421011e-20 byteorder = '>', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00@\x00' E E At index 1 diff: b'\x00' != b'@' E E Full diff: E - b'\x00@\x00' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:1004: AssertionError ________________ test_float24[encode->-f317-f417-3.3087225e-24] ________________ f3 = (0, 0, 1), f4 = (24, 128, 0, 0), f3_expected = 3.3087225e-24 byteorder = '>', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x01' E E At index 2 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x00\x00\x01' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1004: AssertionError ________________ test_float24[encode->-f318-f418-2.1684043e-19] ________________ f3 = (1, 0, 0), f4 = (32, 128, 0, 0), f3_expected = 2.1684043e-19 byteorder = '>', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x01\x00\x00' E E At index 0 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x01\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1004: AssertionError _____________________ test_float24[encode->-f320-f420-0.0] _____________________ f3 = (128, 0, 0), f4 = (128, 128, 0, 0), f3_expected = 0.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x80\x00\x00' E E At index 0 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x80\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1004: AssertionError _____________________ test_float24[encode->-f322-f422-0.0] _____________________ f3 = (128, 0, 0), f4 = (128, 64, 0, 0), f3_expected = 0.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x80\x00\x00' E E At index 0 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x80\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1004: AssertionError ______________________ test_float24[encode-<-f30-f40-nan] ______________________ f3 = (127, 128, 0), f4 = (127, 192, 0, 0), f3_expected = nan, byteorder = '<' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\x7f' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\x7f' E ? ^ ^^ E + b'\x00\x00\x00' E ? ^ ^^ tests/test_imagecodecs.py:1004: AssertionError ______________________ test_float24[encode-<-f31-f41-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 192, 0, 0), f3_expected = nan, byteorder = '<' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\xff' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\xff' E ? ^ ^^ E + b'\x00\x00\x00' E ? ^ ^^ tests/test_imagecodecs.py:1004: AssertionError ______________________ test_float24[encode-<-f32-f42-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 128, 0, 1), f3_expected = nan, byteorder = '<' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\xff' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\xff' E ? ^ ^^ E + b'\x00\x00\x00' E ? ^ ^^ tests/test_imagecodecs.py:1004: AssertionError ______________________ test_float24[encode-<-f33-f43-inf] ______________________ f3 = (127, 0, 0), f4 = (127, 128, 0, 0), f3_expected = inf, byteorder = '<' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x7f' E E At index 2 diff: b'\x00' != b'\x7f' E E Full diff: E - b'\x00\x00\x7f' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:1004: AssertionError _____________________ test_float24[encode-<-f34-f44--inf] ______________________ f3 = (255, 0, 0), f4 = (255, 128, 0, 0), f3_expected = -inf, byteorder = '<' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\xff' E E At index 2 diff: b'\x00' != b'\xff' E E Full diff: E - b'\x00\x00\xff' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:1004: AssertionError _____________________ test_float24[encode-<-f36-f46--0.0] ______________________ f3 = (128, 0, 0), f4 = (128, 0, 0, 0), f3_expected = -0.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x80' E E At index 2 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x00\x80' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1004: AssertionError ______________________ test_float24[encode-<-f37-f47-1.0] ______________________ f3 = (63, 0, 0), f4 = (63, 128, 0, 0), f3_expected = 1.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00?' E E At index 2 diff: b'\x00' != b'?' E E Full diff: E - b'\x00\x00?' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:1004: AssertionError _____________________ test_float24[encode-<-f38-f48--1.0] ______________________ f3 = (191, 0, 0), f4 = (191, 128, 0, 0), f3_expected = -1.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\xbf' E E At index 2 diff: b'\x00' != b'\xbf' E E Full diff: E - b'\x00\x00\xbf' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:1004: AssertionError ___________________ test_float24[encode-<-f39-f49-3.1416016] ___________________ f3 = (64, 146, 32), f4 = (64, 73, 15, 219), f3_expected = 3.1416016 byteorder = '<', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x92\x1e\xf6' == b' \x92@' E E At index 0 diff: b'\x92' != b' ' E E Full diff: E - b' \x92@' E + b'\x92\x1e\xf6' tests/test_imagecodecs.py:1004: AssertionError ________________ test_float24[encode-<-f310-f410-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '<', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xa4\xa8\x0f' == b'\xa8\xa5,' E E At index 0 diff: b'\xa4' != b'\xa8' E E Full diff: E - b'\xa8\xa5,' E + b'\xa4\xa8\x0f' tests/test_imagecodecs.py:1004: AssertionError ________________ test_float24[encode-<-f311-f411-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '<', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xa4\xa8\x0f' == b'\xa8\xa5,' E E At index 0 diff: b'\xa4' != b'\xa8' E E Full diff: E - b'\xa8\xa5,' E + b'\xa4\xa8\x0f' tests/test_imagecodecs.py:1004: AssertionError ____________________ test_float24[encode-<-f312-f412-1e-19] ____________________ f3 = (0, 118, 15), f4 = (31, 236, 30, 74), f3_expected = 1e-19, byteorder = '<' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xd8=T' == b'\x0fv\x00' E E At index 0 diff: b'\xd8' != b'\x0f' E E Full diff: E - b'\x0fv\x00' E + b'\xd8=T' tests/test_imagecodecs.py:1004: AssertionError _____________________ test_float24[encode-<-f313-f413-inf] _____________________ f3 = (127, 0, 0), f4 = (95, 128, 94, 154), f3_expected = inf, byteorder = '<' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x0e\x00\x80' == b'\x00\x00\x7f' E E At index 0 diff: b'\x0e' != b'\x00' E E Full diff: E - b'\x00\x00\x7f' E + b'\x0e\x00\x80' tests/test_imagecodecs.py:1004: AssertionError ________________ test_float24[encode-<-f314-f414-1.0842022e-19] ________________ f3 = (0, 128, 0), f4 = (32, 0, 0, 0), f3_expected = 1.0842022e-19 byteorder = '<', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\x00' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1004: AssertionError ________________ test_float24[encode-<-f315-f415-1.0842021e-19] ________________ f3 = (0, 128, 0), f4 = (31, 255, 255, 255), f3_expected = 1.0842021e-19 byteorder = '<', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x80\xff' == b'\x00\x80\x00' E E At index 2 diff: b'\xff' != b'\x00' E E Full diff: E - b'\x00\x80\x00' E ? ^^ E + b'\x00\x80\xff' E ? ^^ tests/test_imagecodecs.py:1004: AssertionError ________________ test_float24[encode-<-f316-f416-5.421011e-20] _________________ f3 = (0, 64, 0), f4 = (31, 128, 0, 0), f3_expected = 5.421011e-20 byteorder = '<', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00@\x00' E E At index 1 diff: b'\x00' != b'@' E E Full diff: E - b'\x00@\x00' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:1004: AssertionError ________________ test_float24[encode-<-f317-f417-3.3087225e-24] ________________ f3 = (0, 0, 1), f4 = (24, 128, 0, 0), f3_expected = 3.3087225e-24 byteorder = '<', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x01\x00\x00' E E At index 0 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x01\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1004: AssertionError ________________ test_float24[encode-<-f318-f418-2.1684043e-19] ________________ f3 = (1, 0, 0), f4 = (32, 128, 0, 0), f3_expected = 2.1684043e-19 byteorder = '<', mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x01' E E At index 2 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x00\x00\x01' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1004: AssertionError _____________________ test_float24[encode-<-f320-f420-0.0] _____________________ f3 = (128, 0, 0), f4 = (128, 128, 0, 0), f3_expected = 0.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x80' E E At index 2 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x00\x80' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1004: AssertionError _____________________ test_float24[encode-<-f322-f422-0.0] _____________________ f3 = (128, 0, 0), f4 = (128, 64, 0, 0), f3_expected = 0.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x80' E E At index 2 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x00\x80' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1004: AssertionError ______________________ test_float24[decode->-f30-f40-nan] ______________________ f3 = (127, 128, 0), f4 = (127, 192, 0, 0), f3_expected = nan, byteorder = '>' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:996: AssertionError ______________________ test_float24[decode->-f31-f41-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 192, 0, 0), f3_expected = nan, byteorder = '>' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:996: AssertionError ______________________ test_float24[decode->-f32-f42-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 128, 0, 1), f3_expected = nan, byteorder = '>' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:996: AssertionError ______________________ test_float24[decode->-f33-f43-inf] ______________________ f3 = (127, 0, 0), f4 = (127, 128, 0, 0), f3_expected = inf, byteorder = '>' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: > assert f3_decoded == f3_expected E assert np.float32(4.6096e-41) == inf tests/test_imagecodecs.py:998: AssertionError _____________________ test_float24[decode->-f34-f44--inf] ______________________ f3 = (255, 0, 0), f4 = (255, 128, 0, 0), f3_expected = -inf, byteorder = '>' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: > assert f3_decoded == f3_expected E assert np.float32(4.6275e-41) == -inf tests/test_imagecodecs.py:998: AssertionError ______________________ test_float24[decode->-f37-f47-1.0] ______________________ f3 = (63, 0, 0), f4 = (63, 128, 0, 0), f3_expected = 1.0, byteorder = '>' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(1.0) < 4e-08 E + where np.float32(1.0) = abs((np.float32(4.6006e-41) - 1.0)) tests/test_imagecodecs.py:1000: AssertionError _____________________ test_float24[decode->-f38-f48--1.0] ______________________ f3 = (191, 0, 0), f4 = (191, 128, 0, 0), f3_expected = -1.0, byteorder = '>' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(1.0) < 4e-08 E + where np.float32(1.0) = abs((np.float32(4.6185e-41) - -1.0)) tests/test_imagecodecs.py:1000: AssertionError ___________________ test_float24[decode->-f39-f49-3.1416016] ___________________ f3 = (64, 146, 32), f4 = (64, 73, 15, 219), f3_expected = 3.1416016 byteorder = '>', mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1416016) < 4e-08 E + where np.float32(3.1416016) = abs((np.float32(1.495645e-39) - 3.1416016)) tests/test_imagecodecs.py:1000: AssertionError ________________ test_float24[decode->-f310-f410-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '>', mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1415839e-06) < 4e-08 E + where np.float32(3.1415839e-06) = abs((np.float32(1.9498617e-38) - 3.1415839e-06)) tests/test_imagecodecs.py:1000: AssertionError ________________ test_float24[decode->-f311-f411-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '>', mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1415839e-06) < 4e-08 E + where np.float32(3.1415839e-06) = abs((np.float32(1.9498617e-38) - 3.1415839e-06)) tests/test_imagecodecs.py:1000: AssertionError _____________________ test_float24[decode->-f313-f413-inf] _____________________ f3 = (127, 0, 0), f4 = (95, 128, 94, 154), f3_expected = inf, byteorder = '>' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: > assert f3_decoded == f3_expected E assert np.float32(4.6096e-41) == inf tests/test_imagecodecs.py:998: AssertionError ______________________ test_float24[decode-<-f30-f40-nan] ______________________ f3 = (127, 128, 0), f4 = (127, 192, 0, 0), f3_expected = nan, byteorder = '<' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:996: AssertionError ______________________ test_float24[decode-<-f31-f41-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 192, 0, 0), f3_expected = nan, byteorder = '<' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:996: AssertionError ______________________ test_float24[decode-<-f32-f42-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 128, 0, 1), f3_expected = nan, byteorder = '<' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:996: AssertionError ______________________ test_float24[decode-<-f33-f43-inf] ______________________ f3 = (127, 0, 0), f4 = (127, 128, 0, 0), f3_expected = inf, byteorder = '<' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: > assert f3_decoded == f3_expected E assert np.float32(4.6096e-41) == inf tests/test_imagecodecs.py:998: AssertionError _____________________ test_float24[decode-<-f34-f44--inf] ______________________ f3 = (255, 0, 0), f4 = (255, 128, 0, 0), f3_expected = -inf, byteorder = '<' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: > assert f3_decoded == f3_expected E assert np.float32(4.6275e-41) == -inf tests/test_imagecodecs.py:998: AssertionError ______________________ test_float24[decode-<-f37-f47-1.0] ______________________ f3 = (63, 0, 0), f4 = (63, 128, 0, 0), f3_expected = 1.0, byteorder = '<' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(1.0) < 4e-08 E + where np.float32(1.0) = abs((np.float32(4.6006e-41) - 1.0)) tests/test_imagecodecs.py:1000: AssertionError _____________________ test_float24[decode-<-f38-f48--1.0] ______________________ f3 = (191, 0, 0), f4 = (191, 128, 0, 0), f3_expected = -1.0, byteorder = '<' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(1.0) < 4e-08 E + where np.float32(1.0) = abs((np.float32(4.6185e-41) - -1.0)) tests/test_imagecodecs.py:1000: AssertionError ___________________ test_float24[decode-<-f39-f49-3.1416016] ___________________ f3 = (64, 146, 32), f4 = (64, 73, 15, 219), f3_expected = 3.1416016 byteorder = '<', mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1416016) < 4e-08 E + where np.float32(3.1416016) = abs((np.float32(1.495645e-39) - 3.1416016)) tests/test_imagecodecs.py:1000: AssertionError ________________ test_float24[decode-<-f310-f410-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '<', mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1415839e-06) < 4e-08 E + where np.float32(3.1415839e-06) = abs((np.float32(1.9498617e-38) - 3.1415839e-06)) tests/test_imagecodecs.py:1000: AssertionError ________________ test_float24[decode-<-f311-f411-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '<', mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1415839e-06) < 4e-08 E + where np.float32(3.1415839e-06) = abs((np.float32(1.9498617e-38) - 3.1415839e-06)) tests/test_imagecodecs.py:1000: AssertionError _____________________ test_float24[decode-<-f313-f413-inf] _____________________ f3 = (127, 0, 0), f4 = (95, 128, 94, 154), f3_expected = inf, byteorder = '<' mode = 'decode' @pytest.mark.skipif( not imagecodecs.FLOAT24.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: > assert f3_decoded == f3_expected E assert np.float32(4.6096e-41) == inf tests/test_imagecodecs.py:998: AssertionError ___________________________________ test_eer ___________________________________ @pytest.mark.skipif(not imagecodecs.EER.available, reason='EER missing') def test_eer(): """Test EER decoder.""" encoded = b'\x03\x1b\xfc\xb1\x35\xfb' # from EER specification assert imagecodecs.eer_check(encoded) is None > im = imagecodecs.eer_decode(encoded, (1, 312), 7, 1, 1) tests/test_imagecodecs.py:1029: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise EerError('imcd_eer_decode', ret) E imagecodecs._imcd.ImcdError: imcd_eer_decode returned IMCD_OUTPUT_TOO_SMALL imagecodecs/_imcd.pyx:1372: ImcdError ______________________________ test_eer_superres _______________________________ @pytest.mark.skipif(not imagecodecs.EER.available, reason='EER missing') def test_eer_superres(): """Test EER decoder superresolution mode.""" encoded = b'\x03\x1b\xfc\xb1\x35\xfb' # from EER specification > im = imagecodecs.eer_decode(encoded, (40, 32), 7, 1, 1, superres=True) tests/test_imagecodecs.py:1051: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise EerError('imcd_eer_decode', ret) E imagecodecs._imcd.ImcdError: imcd_eer_decode returned IMCD_OUTPUT_TOO_SMALL imagecodecs/_imcd.pyx:1372: ImcdError _____________________________ test_szip_canonical ______________________________ @pytest.mark.skipif(not imagecodecs.SZIP.available, reason='szip missing') def test_szip_canonical(): """Test SZIP codec.""" # from https://github.com/zarr-developers/numcodecs/pull/422 decode = imagecodecs.szip_decode encode = imagecodecs.szip_encode data = ( b'\x00\x02\x00\x00\x15UUUUUUUQUUUUUUUU\x15UUUUUUUQUUUUUUUU' b'\x15UUUUUUUQUUUUUUUU\x15UUUUUUUQUUUUUUUU' ) param = dict( options_mask=141, pixels_per_block=32, bits_per_pixel=16, pixels_per_scanline=256, header=True, ) decoded = decode(data, **param) arr = numpy.frombuffer(decoded, dtype=numpy.uint16) > assert (arr == 1).all() E assert np.False_ E + where np.False_ = () E + where = array([256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256], dtype=uint16) == 1.all tests/test_imagecodecs.py:2075: AssertionError _______________________________ test_zstd_stream _______________________________ @pytest.mark.skipif(not imagecodecs.ZSTD.available, reason='zstd missing') def test_zstd_stream(): """Test ZSTD decoder on stream with unknown decoded size.""" # https://github.com/fsspec/kerchunk/issues/317 data = readfile('zstd_stream.bin') decoded = imagecodecs.zstd_decode(data) arr = numpy.frombuffer(decoded, dtype=numpy.uint32).reshape(256, 256, 5) > assert arr[86, 97, 4] == 1092705 E assert np.uint32(1638666240) == 1092705 tests/test_imagecodecs.py:2127: AssertionError ___________________________ test_jpeg12_decode[new] ____________________________ output = 'new' @pytest.mark.skipif( imagecodecs.JPEG.legacy or not imagecodecs.JPEG8.available, reason='jpeg12 missing', ) @pytest.mark.parametrize('output', ['new', 'out', 'bytearray']) def test_jpeg12_decode(output): """Test JPEG 12-bit decoder with separate tables.""" decode = imagecodecs.jpeg8_decode data = readfile('words.jpeg12.bin') tables = readfile('words.jpeg12_tables.bin') if output == 'new': decoded = decode(data, tables=tables) elif output == 'out': decoded = numpy.zeros_like(WORDSIMG) decode(data, tables=tables, out=decoded) elif output == 'bytearray': decoded = bytearray(WORDSIMG.size * WORDSIMG.itemsize) decoded = decode(data, out=decoded) > assert ( numpy.max( numpy.abs(WORDSIMG.astype('int32') - decoded.astype('int32')) ) < 2 ) E AssertionError: assert np.int32(65025) < 2 E + where np.int32(65025) = (array([[[ 0, 255, 509],\n [ 765, 1020, 1274],\n [ 1530, 1785, 2039],\n ...,\n [25245, 25500, 25754],\n [26010, 26265, 26519],\n [26775, 27030, 27284]],\n\n [[27540, 27795, 28049],\n [28305, 28560, 28814],\n [29070, 29325, 29579],\n ...,\n [52785, 53040, 53294],\n [53550, 53805, 54059],\n [54315, 54570, 54824]],\n\n [[55080, 55335, 55589],\n [55845, 56100, 56354],\n [56610, 56865, 57119],\n ...,\n [14790, 15045, 15299],\n [15555, 15810, 16064],\n [16320, 16575, 16829]],\n\n ...,\n\n [[56865, 57120, 57374],\n [57630, 57885, 58139],\n [58395, 58650, 58904],\n ...,\n [16575, 16830, 17084],\n [17340, 17595, 17849],\n [18105, 18360, 18614]],\n\n [[18870, 19125, 19379],\n [19635, 19890, 20144],\n [20400, 20655, 20909],\n ...,\n [44115, 44370, 44624],\n [44880, 45135, 45389],\n [45645, 45900, 46154]],\n\n [[46410, 46665, 46919],\n [47175, 47430, 47684],\n [47940, 48195, 48449],\n ...,\n [ 6120, 6375, 6629],\n [ 6885, 7140, 7394],\n [ 7650, 7905, 8159]]], shape=(36, 36, 3), dtype=int32)) E + where = numpy.max E + and array([[[ 0, 255, 509],\n [ 765, 1020, 1274],\n [ 1530, 1785, 2039],\n ...,\n [25245, 25500, 25754],\n [26010, 26265, 26519],\n [26775, 27030, 27284]],\n\n [[27540, 27795, 28049],\n [28305, 28560, 28814],\n [29070, 29325, 29579],\n ...,\n [52785, 53040, 53294],\n [53550, 53805, 54059],\n [54315, 54570, 54824]],\n\n [[55080, 55335, 55589],\n [55845, 56100, 56354],\n [56610, 56865, 57119],\n ...,\n [14790, 15045, 15299],\n [15555, 15810, 16064],\n [16320, 16575, 16829]],\n\n ...,\n\n [[56865, 57120, 57374],\n [57630, 57885, 58139],\n [58395, 58650, 58904],\n ...,\n [16575, 16830, 17084],\n [17340, 17595, 17849],\n [18105, 18360, 18614]],\n\n [[18870, 19125, 19379],\n [19635, 19890, 20144],\n [20400, 20655, 20909],\n ...,\n [44115, 44370, 44624],\n [44880, 45135, 45389],\n [45645, 45900, 46154]],\n\n [[46410, 46665, 46919],\n [47175, 47430, 47684],\n [47940, 48195, 48449],\n ...,\n [ 6120, 6375, 6629],\n [ 6885, 7140, 7394],\n [ 7650, 7905, 8159]]], shape=(36, 36, 3), dtype=int32) = ((array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=int32) - array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=int32))) E + where = numpy.abs E + and array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=int32) = ('int32') E + where = array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=uint16).astype E + and array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=int32) = ('int32') E + where = array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=uint16).astype tests/test_imagecodecs.py:2873: AssertionError ___________________________ test_jpeg12_decode[out] ____________________________ output = 'out' @pytest.mark.skipif( imagecodecs.JPEG.legacy or not imagecodecs.JPEG8.available, reason='jpeg12 missing', ) @pytest.mark.parametrize('output', ['new', 'out', 'bytearray']) def test_jpeg12_decode(output): """Test JPEG 12-bit decoder with separate tables.""" decode = imagecodecs.jpeg8_decode data = readfile('words.jpeg12.bin') tables = readfile('words.jpeg12_tables.bin') if output == 'new': decoded = decode(data, tables=tables) elif output == 'out': decoded = numpy.zeros_like(WORDSIMG) decode(data, tables=tables, out=decoded) elif output == 'bytearray': decoded = bytearray(WORDSIMG.size * WORDSIMG.itemsize) decoded = decode(data, out=decoded) > assert ( numpy.max( numpy.abs(WORDSIMG.astype('int32') - decoded.astype('int32')) ) < 2 ) E AssertionError: assert np.int32(65025) < 2 E + where np.int32(65025) = (array([[[ 0, 255, 509],\n [ 765, 1020, 1274],\n [ 1530, 1785, 2039],\n ...,\n [25245, 25500, 25754],\n [26010, 26265, 26519],\n [26775, 27030, 27284]],\n\n [[27540, 27795, 28049],\n [28305, 28560, 28814],\n [29070, 29325, 29579],\n ...,\n [52785, 53040, 53294],\n [53550, 53805, 54059],\n [54315, 54570, 54824]],\n\n [[55080, 55335, 55589],\n [55845, 56100, 56354],\n [56610, 56865, 57119],\n ...,\n [14790, 15045, 15299],\n [15555, 15810, 16064],\n [16320, 16575, 16829]],\n\n ...,\n\n [[56865, 57120, 57374],\n [57630, 57885, 58139],\n [58395, 58650, 58904],\n ...,\n [16575, 16830, 17084],\n [17340, 17595, 17849],\n [18105, 18360, 18614]],\n\n [[18870, 19125, 19379],\n [19635, 19890, 20144],\n [20400, 20655, 20909],\n ...,\n [44115, 44370, 44624],\n [44880, 45135, 45389],\n [45645, 45900, 46154]],\n\n [[46410, 46665, 46919],\n [47175, 47430, 47684],\n [47940, 48195, 48449],\n ...,\n [ 6120, 6375, 6629],\n [ 6885, 7140, 7394],\n [ 7650, 7905, 8159]]], shape=(36, 36, 3), dtype=int32)) E + where = numpy.max E + and array([[[ 0, 255, 509],\n [ 765, 1020, 1274],\n [ 1530, 1785, 2039],\n ...,\n [25245, 25500, 25754],\n [26010, 26265, 26519],\n [26775, 27030, 27284]],\n\n [[27540, 27795, 28049],\n [28305, 28560, 28814],\n [29070, 29325, 29579],\n ...,\n [52785, 53040, 53294],\n [53550, 53805, 54059],\n [54315, 54570, 54824]],\n\n [[55080, 55335, 55589],\n [55845, 56100, 56354],\n [56610, 56865, 57119],\n ...,\n [14790, 15045, 15299],\n [15555, 15810, 16064],\n [16320, 16575, 16829]],\n\n ...,\n\n [[56865, 57120, 57374],\n [57630, 57885, 58139],\n [58395, 58650, 58904],\n ...,\n [16575, 16830, 17084],\n [17340, 17595, 17849],\n [18105, 18360, 18614]],\n\n [[18870, 19125, 19379],\n [19635, 19890, 20144],\n [20400, 20655, 20909],\n ...,\n [44115, 44370, 44624],\n [44880, 45135, 45389],\n [45645, 45900, 46154]],\n\n [[46410, 46665, 46919],\n [47175, 47430, 47684],\n [47940, 48195, 48449],\n ...,\n [ 6120, 6375, 6629],\n [ 6885, 7140, 7394],\n [ 7650, 7905, 8159]]], shape=(36, 36, 3), dtype=int32) = ((array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=int32) - array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=int32))) E + where = numpy.abs E + and array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=int32) = ('int32') E + where = array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=uint16).astype E + and array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=int32) = ('int32') E + where = array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=uint16).astype tests/test_imagecodecs.py:2873: AssertionError ________________________ test_jpeg12_decode[bytearray] _________________________ output = 'bytearray' @pytest.mark.skipif( imagecodecs.JPEG.legacy or not imagecodecs.JPEG8.available, reason='jpeg12 missing', ) @pytest.mark.parametrize('output', ['new', 'out', 'bytearray']) def test_jpeg12_decode(output): """Test JPEG 12-bit decoder with separate tables.""" decode = imagecodecs.jpeg8_decode data = readfile('words.jpeg12.bin') tables = readfile('words.jpeg12_tables.bin') if output == 'new': decoded = decode(data, tables=tables) elif output == 'out': decoded = numpy.zeros_like(WORDSIMG) decode(data, tables=tables, out=decoded) elif output == 'bytearray': decoded = bytearray(WORDSIMG.size * WORDSIMG.itemsize) decoded = decode(data, out=decoded) > assert ( numpy.max( numpy.abs(WORDSIMG.astype('int32') - decoded.astype('int32')) ) < 2 ) E AssertionError: assert np.int32(65025) < 2 E + where np.int32(65025) = (array([[[ 0, 255, 509],\n [ 765, 1020, 1274],\n [ 1530, 1785, 2039],\n ...,\n [25245, 25500, 25754],\n [26010, 26265, 26519],\n [26775, 27030, 27284]],\n\n [[27540, 27795, 28049],\n [28305, 28560, 28814],\n [29070, 29325, 29579],\n ...,\n [52785, 53040, 53294],\n [53550, 53805, 54059],\n [54315, 54570, 54824]],\n\n [[55080, 55335, 55589],\n [55845, 56100, 56354],\n [56610, 56865, 57119],\n ...,\n [14790, 15045, 15299],\n [15555, 15810, 16064],\n [16320, 16575, 16829]],\n\n ...,\n\n [[56865, 57120, 57374],\n [57630, 57885, 58139],\n [58395, 58650, 58904],\n ...,\n [16575, 16830, 17084],\n [17340, 17595, 17849],\n [18105, 18360, 18614]],\n\n [[18870, 19125, 19379],\n [19635, 19890, 20144],\n [20400, 20655, 20909],\n ...,\n [44115, 44370, 44624],\n [44880, 45135, 45389],\n [45645, 45900, 46154]],\n\n [[46410, 46665, 46919],\n [47175, 47430, 47684],\n [47940, 48195, 48449],\n ...,\n [ 6120, 6375, 6629],\n [ 6885, 7140, 7394],\n [ 7650, 7905, 8159]]], shape=(36, 36, 3), dtype=int32)) E + where = numpy.max E + and array([[[ 0, 255, 509],\n [ 765, 1020, 1274],\n [ 1530, 1785, 2039],\n ...,\n [25245, 25500, 25754],\n [26010, 26265, 26519],\n [26775, 27030, 27284]],\n\n [[27540, 27795, 28049],\n [28305, 28560, 28814],\n [29070, 29325, 29579],\n ...,\n [52785, 53040, 53294],\n [53550, 53805, 54059],\n [54315, 54570, 54824]],\n\n [[55080, 55335, 55589],\n [55845, 56100, 56354],\n [56610, 56865, 57119],\n ...,\n [14790, 15045, 15299],\n [15555, 15810, 16064],\n [16320, 16575, 16829]],\n\n ...,\n\n [[56865, 57120, 57374],\n [57630, 57885, 58139],\n [58395, 58650, 58904],\n ...,\n [16575, 16830, 17084],\n [17340, 17595, 17849],\n [18105, 18360, 18614]],\n\n [[18870, 19125, 19379],\n [19635, 19890, 20144],\n [20400, 20655, 20909],\n ...,\n [44115, 44370, 44624],\n [44880, 45135, 45389],\n [45645, 45900, 46154]],\n\n [[46410, 46665, 46919],\n [47175, 47430, 47684],\n [47940, 48195, 48449],\n ...,\n [ 6120, 6375, 6629],\n [ 6885, 7140, 7394],\n [ 7650, 7905, 8159]]], shape=(36, 36, 3), dtype=int32) = ((array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=int32) - array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=int32))) E + where = numpy.abs E + and array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=int32) = ('int32') E + where = array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=uint16).astype E + and array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=int32) = ('int32') E + where = array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=uint16).astype tests/test_imagecodecs.py:2873: AssertionError __________________ test_zfp[float32-rgba-new-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-rgba-new-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-rgba-new-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-rgba-new-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-rgba-new-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-rgba-new-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-rgba-new-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-rgba-new-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-rgba-new-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-rgba-new-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-rgba-new-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-rgba-new-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-rgba-out-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-rgba-out-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-rgba-out-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-rgba-out-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-rgba-out-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-rgba-out-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-rgba-out-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-rgba-out-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-rgba-out-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-rgba-out-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-rgba-out-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-rgba-out-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-rgba-bytearray-new-mode0-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-rgba-bytearray-new-mode0-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-rgba-bytearray-new-mode1-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-rgba-bytearray-new-mode1-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-rgba-bytearray-out-mode0-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-rgba-bytearray-out-mode0-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-rgba-bytearray-out-mode1-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-rgba-bytearray-out-mode1-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float32-rgba-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float32-rgba-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float32-rgba-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float32-rgba-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-view-new-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-view-new-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-view-new-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-view-new-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-view-new-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-view-new-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-view-new-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-view-new-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-view-new-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-view-new-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-view-new-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-view-new-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-view-out-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-view-out-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-view-out-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-view-out-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-view-out-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-view-out-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-view-out-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-view-out-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-view-out-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-view-out-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-view-out-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-view-out-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-view-bytearray-new-mode0-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-view-bytearray-new-mode0-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-view-bytearray-new-mode1-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-view-bytearray-new-mode1-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-view-bytearray-out-mode0-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-view-bytearray-out-mode0-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-view-bytearray-out-mode1-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-view-bytearray-out-mode1-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float32-view-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float32-view-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float32-view-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float32-view-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-gray-new-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-gray-new-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-gray-new-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-gray-new-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-gray-new-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-gray-new-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-gray-new-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-gray-new-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-gray-new-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-gray-new-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-gray-new-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-gray-new-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-gray-out-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-gray-out-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-gray-out-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-gray-out-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-gray-out-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-gray-out-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-gray-out-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-gray-out-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-gray-out-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-gray-out-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-gray-out-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-gray-out-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-gray-bytearray-new-mode0-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-gray-bytearray-new-mode0-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-gray-bytearray-new-mode1-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-gray-bytearray-new-mode1-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-gray-bytearray-out-mode0-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-gray-bytearray-out-mode0-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-gray-bytearray-out-mode1-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-gray-bytearray-out-mode1-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float32-gray-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float32-gray-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float32-gray-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float32-gray-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-line-new-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-line-new-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-line-new-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-line-new-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-line-new-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-line-new-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-line-new-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-line-new-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-line-new-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-line-new-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-line-new-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-line-new-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-line-out-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-line-out-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-line-out-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-line-out-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-line-out-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-line-out-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float32-line-out-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float32-line-out-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-line-out-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-line-out-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-line-out-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-line-out-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-line-bytearray-new-mode0-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-line-bytearray-new-mode0-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-line-bytearray-new-mode1-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-line-bytearray-new-mode1-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-line-bytearray-out-mode0-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-line-bytearray-out-mode0-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float32-line-bytearray-out-mode1-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float32-line-bytearray-out-mode1-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float32-line-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float32-line-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float32-line-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float32-line-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-rgba-new-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-rgba-new-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-rgba-new-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-rgba-new-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-rgba-new-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-rgba-new-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-rgba-new-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-rgba-new-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-rgba-new-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-rgba-new-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-rgba-new-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-rgba-new-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-rgba-out-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-rgba-out-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-rgba-out-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-rgba-out-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-rgba-out-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-rgba-out-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-rgba-out-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-rgba-out-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-rgba-out-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-rgba-out-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-rgba-out-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-rgba-out-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-rgba-bytearray-new-mode0-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-rgba-bytearray-new-mode0-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-rgba-bytearray-new-mode1-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-rgba-bytearray-new-mode1-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-rgba-bytearray-out-mode0-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-rgba-bytearray-out-mode0-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-rgba-bytearray-out-mode1-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-rgba-bytearray-out-mode1-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float64-rgba-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float64-rgba-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float64-rgba-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float64-rgba-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-view-new-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-view-new-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-view-new-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-view-new-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-view-new-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-view-new-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-view-new-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-view-new-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-view-new-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-view-new-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-view-new-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-view-new-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-view-out-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-view-out-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-view-out-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-view-out-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-view-out-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-view-out-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-view-out-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-view-out-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-view-out-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-view-out-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-view-out-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-view-out-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-view-bytearray-new-mode0-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-view-bytearray-new-mode0-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-view-bytearray-new-mode1-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-view-bytearray-new-mode1-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-view-bytearray-out-mode0-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-view-bytearray-out-mode0-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-view-bytearray-out-mode1-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-view-bytearray-out-mode1-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float64-view-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float64-view-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float64-view-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float64-view-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-gray-new-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-gray-new-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-gray-new-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-gray-new-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-gray-new-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-gray-new-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-gray-new-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-gray-new-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-gray-new-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-gray-new-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-gray-new-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-gray-new-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-gray-out-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-gray-out-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-gray-out-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-gray-out-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-gray-out-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-gray-out-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-gray-out-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-gray-out-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-gray-out-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-gray-out-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-gray-out-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-gray-out-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-gray-bytearray-new-mode0-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-gray-bytearray-new-mode0-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-gray-bytearray-new-mode1-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-gray-bytearray-new-mode1-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-gray-bytearray-out-mode0-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-gray-bytearray-out-mode0-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-gray-bytearray-out-mode1-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-gray-bytearray-out-mode1-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float64-gray-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float64-gray-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float64-gray-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float64-gray-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-line-new-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-line-new-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-line-new-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-line-new-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-line-new-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-line-new-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-line-new-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-line-new-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-line-new-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-line-new-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-line-new-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-line-new-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-line-out-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-line-out-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-line-out-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-line-out-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-line-out-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-line-out-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError __________________ test_zfp[float64-line-out-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[float64-line-out-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-line-out-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-line-out-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-line-out-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-line-out-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-line-bytearray-new-mode0-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-line-bytearray-new-mode0-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-line-bytearray-new-mode1-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-line-bytearray-new-mode1-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-line-bytearray-out-mode0-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-line-bytearray-out-mode0-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _______________ test_zfp[float64-line-bytearray-out-mode1-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[float64-line-bytearray-out-mode1-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float64-line-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float64-line-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________ test_zfp[float64-line-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[float64-line-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-rgba-new-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-rgba-new-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-rgba-new-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-rgba-new-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-rgba-new-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-rgba-new-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-rgba-new-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-rgba-new-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-rgba-new-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-rgba-new-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-rgba-new-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-rgba-new-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-rgba-out-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-rgba-out-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-rgba-out-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-rgba-out-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-rgba-out-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-rgba-out-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-rgba-out-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-rgba-out-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-rgba-out-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-rgba-out-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-rgba-out-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-rgba-out-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-rgba-bytearray-new-mode0-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-rgba-bytearray-new-mode0-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-rgba-bytearray-new-mode1-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-rgba-bytearray-new-mode1-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-rgba-bytearray-out-mode0-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-rgba-bytearray-out-mode0-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-rgba-bytearray-out-mode1-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-rgba-bytearray-out-mode1-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int32-rgba-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int32-rgba-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int32-rgba-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int32-rgba-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-view-new-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-view-new-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-view-new-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-view-new-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-view-new-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-view-new-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-view-new-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-view-new-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-view-new-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-view-new-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-view-new-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-view-new-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-view-out-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-view-out-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-view-out-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-view-out-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-view-out-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-view-out-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-view-out-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-view-out-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-view-out-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-view-out-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-view-out-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-view-out-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-view-bytearray-new-mode0-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-view-bytearray-new-mode0-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-view-bytearray-new-mode1-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-view-bytearray-new-mode1-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-view-bytearray-out-mode0-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-view-bytearray-out-mode0-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-view-bytearray-out-mode1-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-view-bytearray-out-mode1-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int32-view-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int32-view-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int32-view-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int32-view-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-gray-new-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-gray-new-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-gray-new-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-gray-new-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-gray-new-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-gray-new-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-gray-new-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-gray-new-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-gray-new-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-gray-new-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-gray-new-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-gray-new-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-gray-out-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-gray-out-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-gray-out-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-gray-out-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-gray-out-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-gray-out-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-gray-out-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-gray-out-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-gray-out-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-gray-out-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-gray-out-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-gray-out-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-gray-bytearray-new-mode0-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-gray-bytearray-new-mode0-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-gray-bytearray-new-mode1-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-gray-bytearray-new-mode1-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-gray-bytearray-out-mode0-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-gray-bytearray-out-mode0-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-gray-bytearray-out-mode1-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-gray-bytearray-out-mode1-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int32-gray-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int32-gray-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int32-gray-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int32-gray-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-line-new-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-line-new-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-line-new-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-line-new-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-line-new-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-line-new-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-line-new-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-line-new-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-line-new-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-line-new-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-line-new-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-line-new-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-line-out-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-line-out-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-line-out-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-line-out-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-line-out-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-line-out-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int32-line-out-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int32-line-out-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-line-out-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-line-out-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-line-out-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-line-out-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-line-bytearray-new-mode0-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-line-bytearray-new-mode0-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-line-bytearray-new-mode1-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-line-bytearray-new-mode1-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-line-bytearray-out-mode0-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-line-bytearray-out-mode0-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int32-line-bytearray-out-mode1-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int32-line-bytearray-out-mode1-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int32-line-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int32-line-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int32-line-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int32-line-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-rgba-new-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-rgba-new-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-rgba-new-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-rgba-new-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-rgba-new-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-rgba-new-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-rgba-new-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-rgba-new-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-rgba-new-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-rgba-new-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-rgba-new-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-rgba-new-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-rgba-out-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-rgba-out-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-rgba-out-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-rgba-out-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-rgba-out-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-rgba-out-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-rgba-out-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-rgba-out-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-rgba-out-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-rgba-out-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-rgba-out-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-rgba-out-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-rgba-bytearray-new-mode0-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-rgba-bytearray-new-mode0-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-rgba-bytearray-new-mode1-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-rgba-bytearray-new-mode1-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-rgba-bytearray-out-mode0-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-rgba-bytearray-out-mode0-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-rgba-bytearray-out-mode1-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-rgba-bytearray-out-mode1-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int64-rgba-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int64-rgba-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int64-rgba-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int64-rgba-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-view-new-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-view-new-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-view-new-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-view-new-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-view-new-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-view-new-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-view-new-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-view-new-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-view-new-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-view-new-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-view-new-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-view-new-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-view-out-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-view-out-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-view-out-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-view-out-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-view-out-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-view-out-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-view-out-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-view-out-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-view-out-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-view-out-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-view-out-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-view-out-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-view-bytearray-new-mode0-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-view-bytearray-new-mode0-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-view-bytearray-new-mode1-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-view-bytearray-new-mode1-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-view-bytearray-out-mode0-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-view-bytearray-out-mode0-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-view-bytearray-out-mode1-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-view-bytearray-out-mode1-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int64-view-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int64-view-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int64-view-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int64-view-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-gray-new-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-gray-new-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-gray-new-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-gray-new-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-gray-new-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-gray-new-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-gray-new-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-gray-new-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-gray-new-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-gray-new-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-gray-new-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-gray-new-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-gray-out-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-gray-out-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-gray-out-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-gray-out-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-gray-out-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-gray-out-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-gray-out-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-gray-out-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-gray-out-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-gray-out-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-gray-out-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-gray-out-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-gray-bytearray-new-mode0-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-gray-bytearray-new-mode0-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-gray-bytearray-new-mode1-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-gray-bytearray-new-mode1-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-gray-bytearray-out-mode0-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-gray-bytearray-out-mode0-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-gray-bytearray-out-mode1-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-gray-bytearray-out-mode1-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int64-gray-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int64-gray-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int64-gray-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int64-gray-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-line-new-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-line-new-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-line-new-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-line-new-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-line-new-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-line-new-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-line-new-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-line-new-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-line-new-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-line-new-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-line-new-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-line-new-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-line-out-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-line-out-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-line-out-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-line-out-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-line-out-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-line-out-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_zfp[int64-line-out-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ____________________ test_zfp[int64-line-out-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-line-out-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-line-out-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-line-out-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-line-out-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-line-bytearray-new-mode0-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-line-bytearray-new-mode0-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-line-bytearray-new-mode1-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-line-bytearray-new-mode1-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-line-bytearray-out-mode0-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-line-bytearray-out-mode0-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ________________ test_zfp[int64-line-bytearray-out-mode1-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _________________ test_zfp[int64-line-bytearray-out-mode1-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int64-line-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int64-line-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError _____________ test_zfp[int64-line-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ______________ test_zfp[int64-line-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:3348: AssertionError ___________________ test_lerc[uint8-gray-new-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-new-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-new-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-new-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-new-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-new-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-new-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-new-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-new-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-new-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-new-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-new-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-out-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-out-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-out-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-out-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-out-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-out-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-out-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-gray-out-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-out-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-out-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-out-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-out-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-bytearray-new-None-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-bytearray-new-None-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-bytearray-new-True-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-bytearray-new-True-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-bytearray-out-None-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-bytearray-out-None-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-bytearray-out-True-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-gray-bytearray-out-True-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint8-gray-bytearray-bytearray-None-None] ______________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint8-gray-bytearray-bytearray-None-0.02] ______________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint8-gray-bytearray-bytearray-True-None] ______________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint8-gray-bytearray-bytearray-True-0.02] ______________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-new-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-new-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-new-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-new-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-new-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-new-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-new-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-new-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-new-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-new-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-new-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-new-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-out-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-out-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-out-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-out-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-out-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-out-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-out-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[uint8-rgb-out-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-out-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-out-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-out-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-out-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-bytearray-new-None-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-bytearray-new-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-bytearray-new-True-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-bytearray-new-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-bytearray-out-None-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-bytearray-out-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-bytearray-out-True-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-rgb-bytearray-out-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-rgb-bytearray-bytearray-None-None] ______________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-rgb-bytearray-bytearray-None-0.02] ______________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-rgb-bytearray-bytearray-True-None] ______________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-rgb-bytearray-bytearray-True-0.02] ______________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-new-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-new-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-new-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-new-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-new-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-new-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-new-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-new-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-new-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-new-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-new-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-new-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-out-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-out-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-out-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-out-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-out-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-out-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-out-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-rgba-out-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-out-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-out-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-out-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-out-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-bytearray-new-None-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-bytearray-new-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-bytearray-new-True-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-bytearray-new-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-bytearray-out-None-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-bytearray-out-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-bytearray-out-True-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-rgba-bytearray-out-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint8-rgba-bytearray-bytearray-None-None] ______________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint8-rgba-bytearray-bytearray-None-0.02] ______________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint8-rgba-bytearray-bytearray-True-None] ______________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint8-rgba-bytearray-bytearray-True-0.02] ______________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-new-new-None-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-new-new-None-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-new-new-True-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-new-new-True-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-new-out-None-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-new-out-None-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-new-out-True-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-new-out-True-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-new-bytearray-None-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-new-bytearray-None-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-new-bytearray-True-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-new-bytearray-True-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-out-new-None-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-out-new-None-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-out-new-True-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-out-new-True-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-out-out-None-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-out-out-None-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-out-out-True-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint8-channels-out-out-True-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-out-bytearray-None-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-out-bytearray-None-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-out-bytearray-True-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-out-bytearray-True-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-bytearray-new-None-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-bytearray-new-None-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-bytearray-new-True-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-bytearray-new-True-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-bytearray-out-None-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-bytearray-out-None-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-bytearray-out-True-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint8-channels-bytearray-out-True-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________ test_lerc[uint8-channels-bytearray-bytearray-None-None] ____________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________ test_lerc[uint8-channels-bytearray-bytearray-None-0.02] ____________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________ test_lerc[uint8-channels-bytearray-bytearray-True-None] ____________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________ test_lerc[uint8-channels-bytearray-bytearray-True-0.02] ____________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-new-new-None-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-new-new-None-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-new-new-True-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-new-new-True-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-new-out-None-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-new-out-None-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-new-out-True-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-new-out-True-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-new-bytearray-None-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-new-bytearray-None-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-new-bytearray-True-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-new-bytearray-True-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-out-new-None-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-out-new-None-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-out-new-True-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-out-new-True-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-out-out-None-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-out-out-None-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-out-out-True-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint8-stack-out-out-True-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-out-bytearray-None-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-out-bytearray-None-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-out-bytearray-True-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-out-bytearray-True-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-bytearray-new-None-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-bytearray-new-None-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-bytearray-new-True-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-bytearray-new-True-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-bytearray-out-None-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-bytearray-out-None-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-bytearray-out-True-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint8-stack-bytearray-out-True-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint8-stack-bytearray-bytearray-None-None] _____________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint8-stack-bytearray-bytearray-None-0.02] _____________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint8-stack-bytearray-bytearray-True-None] _____________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint8-stack-bytearray-bytearray-True-0.02] _____________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-new-new-None-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-new-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-new-new-True-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-new-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-new-out-None-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-new-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-new-out-True-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-new-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-new-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-new-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-new-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-new-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-out-new-None-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-out-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-out-new-True-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-out-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-out-out-None-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-out-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-out-out-True-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-gray-out-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-out-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-out-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-out-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-out-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-bytearray-new-None-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-bytearray-new-None-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-bytearray-new-True-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-bytearray-new-True-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-bytearray-out-None-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-bytearray-out-None-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-bytearray-out-True-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-gray-bytearray-out-True-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int8-gray-bytearray-bytearray-None-None] ______________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int8-gray-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int8-gray-bytearray-bytearray-True-None] ______________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int8-gray-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-new-new-None-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-new-new-None-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-new-new-True-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-new-new-True-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-new-out-None-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-new-out-None-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-new-out-True-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-new-out-True-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-new-bytearray-None-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-new-bytearray-None-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-new-bytearray-True-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-new-bytearray-True-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-out-new-None-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-out-new-None-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-out-new-True-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-out-new-True-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-out-out-None-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-out-out-None-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-out-out-True-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgb-out-out-True-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-out-bytearray-None-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-out-bytearray-None-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-out-bytearray-True-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-out-bytearray-True-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-bytearray-new-None-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-bytearray-new-None-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-bytearray-new-True-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-bytearray-new-True-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-bytearray-out-None-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-bytearray-out-None-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-bytearray-out-True-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgb-bytearray-out-True-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int8-rgb-bytearray-bytearray-None-None] _______________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int8-rgb-bytearray-bytearray-None-0.02] _______________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int8-rgb-bytearray-bytearray-True-None] _______________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int8-rgb-bytearray-bytearray-True-0.02] _______________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-new-new-None-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-new-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-new-new-True-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-new-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-new-out-None-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-new-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-new-out-True-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-new-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-new-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-new-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-new-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-new-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-out-new-None-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-out-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-out-new-True-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-out-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-out-out-None-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-out-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-out-out-True-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int8-rgba-out-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-out-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-out-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-out-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-out-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-bytearray-new-None-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-bytearray-new-None-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-bytearray-new-True-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-bytearray-new-True-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-bytearray-out-None-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-bytearray-out-None-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-bytearray-out-True-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int8-rgba-bytearray-out-True-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int8-rgba-bytearray-bytearray-None-None] ______________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int8-rgba-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int8-rgba-bytearray-bytearray-True-None] ______________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int8-rgba-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-new-new-None-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-new-new-None-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-new-new-True-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-new-new-True-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-new-out-None-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-new-out-None-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-new-out-True-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-new-out-True-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-new-bytearray-None-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-new-bytearray-None-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-new-bytearray-True-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-new-bytearray-True-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-out-new-None-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-out-new-None-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-out-new-True-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-out-new-True-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-out-out-None-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-out-out-None-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-out-out-True-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[int8-channels-out-out-True-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-out-bytearray-None-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-out-bytearray-None-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-out-bytearray-True-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-out-bytearray-True-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-bytearray-new-None-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-bytearray-new-None-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-bytearray-new-True-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-bytearray-new-True-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-bytearray-out-None-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-bytearray-out-None-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-bytearray-out-True-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[int8-channels-bytearray-out-True-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[int8-channels-bytearray-bytearray-None-None] ____________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[int8-channels-bytearray-bytearray-None-0.02] ____________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[int8-channels-bytearray-bytearray-True-None] ____________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[int8-channels-bytearray-bytearray-True-0.02] ____________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-new-new-None-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-new-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-new-new-True-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-new-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-new-out-None-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-new-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-new-out-True-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-new-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-new-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-new-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-new-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-new-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-out-new-None-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-out-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-out-new-True-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-out-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-out-out-None-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-out-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-out-out-True-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int8-stack-out-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-out-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-out-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-out-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-out-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-bytearray-new-None-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-bytearray-new-None-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-bytearray-new-True-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-bytearray-new-True-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-bytearray-out-None-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-bytearray-out-None-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-bytearray-out-True-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int8-stack-bytearray-out-True-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int8-stack-bytearray-bytearray-None-None] ______________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int8-stack-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int8-stack-bytearray-bytearray-True-None] ______________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int8-stack-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-new-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-new-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-new-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-new-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-new-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-new-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-new-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-new-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-new-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-new-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-new-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-new-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-out-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-out-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-out-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-out-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-out-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-out-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-out-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-gray-out-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-out-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-out-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-out-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-out-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-bytearray-new-None-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-bytearray-new-None-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-bytearray-new-True-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-bytearray-new-True-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-bytearray-out-None-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-bytearray-out-None-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-bytearray-out-True-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-gray-bytearray-out-True-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint16-gray-bytearray-bytearray-None-None] _____________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint16-gray-bytearray-bytearray-None-0.02] _____________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint16-gray-bytearray-bytearray-True-None] _____________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint16-gray-bytearray-bytearray-True-0.02] _____________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-new-new-None-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-new-new-None-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-new-new-True-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-new-new-True-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-new-out-None-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-new-out-None-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-new-out-True-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-new-out-True-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-new-bytearray-None-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-new-bytearray-None-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-new-bytearray-True-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-new-bytearray-True-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-out-new-None-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-out-new-None-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-out-new-True-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-out-new-True-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-out-out-None-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-out-out-None-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-out-out-True-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgb-out-out-True-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-out-bytearray-None-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-out-bytearray-None-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-out-bytearray-True-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-out-bytearray-True-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-bytearray-new-None-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-bytearray-new-None-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-bytearray-new-True-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-bytearray-new-True-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-bytearray-out-None-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-bytearray-out-None-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-bytearray-out-True-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgb-bytearray-out-True-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint16-rgb-bytearray-bytearray-None-None] ______________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint16-rgb-bytearray-bytearray-None-0.02] ______________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint16-rgb-bytearray-bytearray-True-None] ______________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint16-rgb-bytearray-bytearray-True-0.02] ______________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-new-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-new-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-new-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-new-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-new-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-new-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-new-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-new-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-new-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-new-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-new-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-new-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-out-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-out-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-out-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-out-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-out-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-out-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-out-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[uint16-rgba-out-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-out-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-out-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-out-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-out-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-bytearray-new-None-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-bytearray-new-None-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-bytearray-new-True-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-bytearray-new-True-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-bytearray-out-None-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-bytearray-out-None-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-bytearray-out-True-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[uint16-rgba-bytearray-out-True-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint16-rgba-bytearray-bytearray-None-None] _____________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint16-rgba-bytearray-bytearray-None-0.02] _____________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint16-rgba-bytearray-bytearray-True-None] _____________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[uint16-rgba-bytearray-bytearray-True-0.02] _____________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-new-new-None-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-new-new-None-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-new-new-True-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-new-new-True-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-new-out-None-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-new-out-None-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-new-out-True-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-new-out-True-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-new-bytearray-None-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-new-bytearray-None-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-new-bytearray-True-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-new-bytearray-True-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-out-new-None-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-out-new-None-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-out-new-True-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-out-new-True-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-out-out-None-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-out-out-None-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-out-out-True-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[uint16-channels-out-out-True-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-out-bytearray-None-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-out-bytearray-None-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-out-bytearray-True-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-out-bytearray-True-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-bytearray-new-None-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-bytearray-new-None-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-bytearray-new-True-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-bytearray-new-True-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-bytearray-out-None-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-bytearray-out-None-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-bytearray-out-True-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[uint16-channels-bytearray-out-True-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________ test_lerc[uint16-channels-bytearray-bytearray-None-None] ___________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________ test_lerc[uint16-channels-bytearray-bytearray-None-0.02] ___________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________ test_lerc[uint16-channels-bytearray-bytearray-True-None] ___________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________ test_lerc[uint16-channels-bytearray-bytearray-True-0.02] ___________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-new-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-new-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-new-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-new-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-new-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-new-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-new-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-new-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-new-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-new-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-new-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-new-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-out-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-out-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-out-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-out-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-out-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-out-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-out-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[uint16-stack-out-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-out-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-out-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-out-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-out-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-bytearray-new-None-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-bytearray-new-None-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-bytearray-new-True-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-bytearray-new-True-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-bytearray-out-None-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-bytearray-out-None-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-bytearray-out-True-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[uint16-stack-bytearray-out-True-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[uint16-stack-bytearray-bytearray-None-None] _____________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[uint16-stack-bytearray-bytearray-None-0.02] _____________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[uint16-stack-bytearray-bytearray-True-None] _____________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[uint16-stack-bytearray-bytearray-True-0.02] _____________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-new-new-None-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-new-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-new-new-True-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-new-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-new-out-None-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-new-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-new-out-True-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-new-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-new-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-new-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-new-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-new-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-out-new-None-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-out-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-out-new-True-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-out-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-out-out-None-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-out-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-out-out-True-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-gray-out-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-out-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-out-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-out-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-out-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-bytearray-new-None-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-bytearray-new-None-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-bytearray-new-True-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-bytearray-new-True-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-bytearray-out-None-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-bytearray-out-None-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-bytearray-out-True-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-gray-bytearray-out-True-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int32-gray-bytearray-bytearray-None-None] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int32-gray-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int32-gray-bytearray-bytearray-True-None] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int32-gray-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-new-new-None-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-new-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-new-new-True-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-new-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-new-out-None-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-new-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-new-out-True-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-new-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-new-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-new-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-new-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-new-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-out-new-None-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-out-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-out-new-True-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-out-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-out-out-None-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-out-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-out-out-True-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_lerc[int32-rgb-out-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-out-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-out-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-out-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-out-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-bytearray-new-None-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-bytearray-new-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-bytearray-new-True-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-bytearray-new-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-bytearray-out-None-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-bytearray-out-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-bytearray-out-True-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-rgb-bytearray-out-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-rgb-bytearray-bytearray-None-None] ______________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-rgb-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-rgb-bytearray-bytearray-True-None] ______________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-rgb-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-new-new-None-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-new-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-new-new-True-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-new-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-new-out-None-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-new-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-new-out-True-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-new-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-new-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-new-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-new-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-new-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-out-new-None-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-out-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-out-new-True-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-out-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-out-out-None-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-out-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-out-out-True-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-rgba-out-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-out-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-out-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-out-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-out-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-bytearray-new-None-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-bytearray-new-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-bytearray-new-True-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-bytearray-new-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-bytearray-out-None-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-bytearray-out-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-bytearray-out-True-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-rgba-bytearray-out-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int32-rgba-bytearray-bytearray-None-None] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int32-rgba-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int32-rgba-bytearray-bytearray-True-None] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int32-rgba-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-new-new-None-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-new-new-None-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-new-new-True-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-new-new-True-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-new-out-None-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-new-out-None-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-new-out-True-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-new-out-True-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-new-bytearray-None-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-new-bytearray-None-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-new-bytearray-True-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-new-bytearray-True-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-out-new-None-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-out-new-None-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-out-new-True-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-out-new-True-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-out-out-None-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-out-out-None-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-out-out-True-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________ test_lerc[int32-channels-out-out-True-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-out-bytearray-None-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-out-bytearray-None-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-out-bytearray-True-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-out-bytearray-True-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-bytearray-new-None-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-bytearray-new-None-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-bytearray-new-True-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-bytearray-new-True-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-bytearray-out-None-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-bytearray-out-None-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-bytearray-out-True-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_lerc[int32-channels-bytearray-out-True-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________ test_lerc[int32-channels-bytearray-bytearray-None-None] ____________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________ test_lerc[int32-channels-bytearray-bytearray-None-0.02] ____________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________ test_lerc[int32-channels-bytearray-bytearray-True-None] ____________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________ test_lerc[int32-channels-bytearray-bytearray-True-0.02] ____________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-new-new-None-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-new-new-None-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-new-new-True-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-new-new-True-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-new-out-None-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-new-out-None-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-new-out-True-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-new-out-True-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-new-bytearray-None-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-new-bytearray-None-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-new-bytearray-True-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-new-bytearray-True-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-out-new-None-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-out-new-None-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-out-new-True-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-out-new-True-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-out-out-None-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-out-out-None-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-out-out-True-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[int32-stack-out-out-True-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-out-bytearray-None-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-out-bytearray-None-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-out-bytearray-True-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-out-bytearray-True-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-bytearray-new-None-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-bytearray-new-None-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-bytearray-new-True-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-bytearray-new-True-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-bytearray-out-None-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-bytearray-out-None-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-bytearray-out-True-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[int32-stack-bytearray-out-True-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int32-stack-bytearray-bytearray-None-None] _____________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int32-stack-bytearray-bytearray-None-0.02] _____________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int32-stack-bytearray-bytearray-True-None] _____________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[int32-stack-bytearray-bytearray-True-0.02] _____________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-new-new-None-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-new-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-new-new-True-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-new-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-new-out-None-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-new-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-new-out-True-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-new-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-new-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-new-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-new-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-new-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-out-new-None-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-out-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-out-new-True-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-out-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-out-out-None-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-out-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-out-out-True-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-gray-out-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-out-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-out-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-out-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-out-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-bytearray-new-None-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-bytearray-new-None-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-bytearray-new-True-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-bytearray-new-True-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-bytearray-out-None-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-bytearray-out-None-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-bytearray-out-True-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-gray-bytearray-out-True-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float32-gray-bytearray-bytearray-None-None] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float32-gray-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float32-gray-bytearray-bytearray-True-None] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float32-gray-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-new-new-None-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-new-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-new-new-True-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-new-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-new-out-None-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-new-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-new-out-True-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-new-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-new-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-new-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-new-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-new-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-out-new-None-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-out-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-out-new-True-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-out-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-out-out-None-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-out-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-out-out-True-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float32-rgb-out-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-out-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-out-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-out-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-out-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-bytearray-new-None-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-bytearray-new-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-bytearray-new-True-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-bytearray-new-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-bytearray-out-None-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-bytearray-out-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-bytearray-out-True-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-rgb-bytearray-out-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-rgb-bytearray-bytearray-None-None] _____________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-rgb-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-rgb-bytearray-bytearray-True-None] _____________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-rgb-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-new-new-None-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-new-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-new-new-True-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-new-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-new-out-None-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-new-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-new-out-True-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-new-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-new-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-new-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-new-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-new-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-out-new-None-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-out-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-out-new-True-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-out-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-out-out-None-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-out-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-out-out-True-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-rgba-out-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-out-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-out-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-out-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-out-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-bytearray-new-None-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-bytearray-new-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-bytearray-new-True-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-bytearray-new-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-bytearray-out-None-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-bytearray-out-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-bytearray-out-True-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-rgba-bytearray-out-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float32-rgba-bytearray-bytearray-None-None] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float32-rgba-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float32-rgba-bytearray-bytearray-True-None] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float32-rgba-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-new-new-None-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-new-new-None-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-new-new-True-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-new-new-True-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-new-out-None-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-new-out-None-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-new-out-True-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-new-out-True-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-new-bytearray-None-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-new-bytearray-None-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-new-bytearray-True-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-new-bytearray-True-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-out-new-None-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-out-new-None-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-out-new-True-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-out-new-True-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-out-out-None-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-out-out-None-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-out-out-True-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float32-channels-out-out-True-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-out-bytearray-None-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-out-bytearray-None-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-out-bytearray-True-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-out-bytearray-True-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-bytearray-new-None-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-bytearray-new-None-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-bytearray-new-True-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-bytearray-new-True-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-bytearray-out-None-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-bytearray-out-None-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-bytearray-out-True-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float32-channels-bytearray-out-True-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________ test_lerc[float32-channels-bytearray-bytearray-None-None] ___________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________ test_lerc[float32-channels-bytearray-bytearray-None-0.02] ___________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________ test_lerc[float32-channels-bytearray-bytearray-True-None] ___________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________ test_lerc[float32-channels-bytearray-bytearray-True-0.02] ___________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-new-new-None-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-new-new-None-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-new-new-True-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-new-new-True-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-new-out-None-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-new-out-None-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-new-out-True-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-new-out-True-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-new-bytearray-None-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-new-bytearray-None-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-new-bytearray-True-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-new-bytearray-True-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-out-new-None-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-out-new-None-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-out-new-True-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-out-new-True-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-out-out-None-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-out-out-None-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-out-out-True-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float32-stack-out-out-True-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-out-bytearray-None-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-out-bytearray-None-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-out-bytearray-True-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-out-bytearray-True-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-bytearray-new-None-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-bytearray-new-None-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-bytearray-new-True-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-bytearray-new-True-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-bytearray-out-None-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-bytearray-out-None-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-bytearray-out-True-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float32-stack-bytearray-out-True-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float32-stack-bytearray-bytearray-None-None] ____________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float32-stack-bytearray-bytearray-None-0.02] ____________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float32-stack-bytearray-bytearray-True-None] ____________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float32-stack-bytearray-bytearray-True-0.02] ____________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-new-new-None-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-new-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-new-new-True-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-new-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-new-out-None-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-new-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-new-out-True-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-new-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-new-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-new-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-new-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-new-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-out-new-None-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-out-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-out-new-True-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-out-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-out-out-None-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-out-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-out-out-True-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-gray-out-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-out-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-out-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-out-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-out-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-bytearray-new-None-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-bytearray-new-None-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-bytearray-new-True-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-bytearray-new-True-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-bytearray-out-None-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-bytearray-out-None-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-bytearray-out-True-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-gray-bytearray-out-True-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float64-gray-bytearray-bytearray-None-None] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float64-gray-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float64-gray-bytearray-bytearray-True-None] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float64-gray-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-new-new-None-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-new-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-new-new-True-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-new-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-new-out-None-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-new-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-new-out-True-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-new-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-new-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-new-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-new-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-new-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-out-new-None-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-out-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-out-new-True-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-out-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-out-out-None-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-out-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-out-out-True-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________ test_lerc[float64-rgb-out-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-out-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-out-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-out-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-out-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-bytearray-new-None-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-bytearray-new-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-bytearray-new-True-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-bytearray-new-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-bytearray-out-None-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-bytearray-out-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-bytearray-out-True-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-rgb-bytearray-out-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-rgb-bytearray-bytearray-None-None] _____________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-rgb-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-rgb-bytearray-bytearray-True-None] _____________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-rgb-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-new-new-None-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-new-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-new-new-True-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-new-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-new-out-None-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-new-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-new-out-True-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-new-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-new-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-new-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-new-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-new-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-out-new-None-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-out-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-out-new-True-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-out-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-out-out-None-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-out-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-out-out-True-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-rgba-out-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-out-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-out-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-out-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-out-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-bytearray-new-None-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-bytearray-new-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-bytearray-new-True-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-bytearray-new-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-bytearray-out-None-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-bytearray-out-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-bytearray-out-True-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-rgba-bytearray-out-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float64-rgba-bytearray-bytearray-None-None] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float64-rgba-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float64-rgba-bytearray-bytearray-True-None] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float64-rgba-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-new-new-None-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-new-new-None-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-new-new-True-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-new-new-True-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-new-out-None-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-new-out-None-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-new-out-True-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-new-out-True-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-new-bytearray-None-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-new-bytearray-None-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-new-bytearray-True-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-new-bytearray-True-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-out-new-None-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-out-new-None-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-out-new-True-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-out-new-True-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-out-out-None-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-out-out-None-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-out-out-True-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________ test_lerc[float64-channels-out-out-True-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-out-bytearray-None-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-out-bytearray-None-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-out-bytearray-True-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-out-bytearray-True-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-bytearray-new-None-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-bytearray-new-None-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-bytearray-new-True-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-bytearray-new-True-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-bytearray-out-None-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-bytearray-out-None-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-bytearray-out-True-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________ test_lerc[float64-channels-bytearray-out-True-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________ test_lerc[float64-channels-bytearray-bytearray-None-None] ___________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________ test_lerc[float64-channels-bytearray-bytearray-None-0.02] ___________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________ test_lerc[float64-channels-bytearray-bytearray-True-None] ___________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________ test_lerc[float64-channels-bytearray-bytearray-True-0.02] ___________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-new-new-None-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-new-new-None-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-new-new-True-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-new-new-True-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-new-out-None-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-new-out-None-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-new-out-True-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-new-out-True-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-new-bytearray-None-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-new-bytearray-None-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-new-bytearray-True-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-new-bytearray-True-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-out-new-None-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-out-new-None-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-out-new-True-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-out-new-True-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-out-out-None-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-out-out-None-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-out-out-True-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________ test_lerc[float64-stack-out-out-True-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-out-bytearray-None-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-out-bytearray-None-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-out-bytearray-True-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-out-bytearray-True-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-bytearray-new-None-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-bytearray-new-None-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-bytearray-new-True-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-bytearray-new-True-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-bytearray-out-None-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-bytearray-out-None-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-bytearray-out-True-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________ test_lerc[float64-stack-bytearray-out-True-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float64-stack-bytearray-bytearray-None-None] ____________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float64-stack-bytearray-bytearray-None-0.02] ____________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float64-stack-bytearray-bytearray-True-None] ____________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________ test_lerc[float64-stack-bytearray-bytearray-True-0.02] ____________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________________ test_lerc_files[world.lerc1] _________________________ file = 'world.lerc1' @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') @pytest.mark.parametrize( 'file', [ 'world.lerc1', 'california_400_400_1_float.lerc2', 'bluemarble_256_256_3_byte.lerc2', 'zstd.lerc2', ], ) def test_lerc_files(file): """Test LERC decoder with lerc testData files.""" with open(datafiles(f'lerc/{file}'), 'rb') as fh: encoded = fh.read() > decoded = imagecodecs.lerc_decode(encoded, masks=False) tests/test_imagecodecs.py:3666: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs._lerc.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:285: LercError ______________ test_lerc_files[california_400_400_1_float.lerc2] _______________ file = 'california_400_400_1_float.lerc2' @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') @pytest.mark.parametrize( 'file', [ 'world.lerc1', 'california_400_400_1_float.lerc2', 'bluemarble_256_256_3_byte.lerc2', 'zstd.lerc2', ], ) def test_lerc_files(file): """Test LERC decoder with lerc testData files.""" with open(datafiles(f'lerc/{file}'), 'rb') as fh: encoded = fh.read() > decoded = imagecodecs.lerc_decode(encoded, masks=False) tests/test_imagecodecs.py:3666: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs._lerc.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:285: LercError _______________ test_lerc_files[bluemarble_256_256_3_byte.lerc2] _______________ file = 'bluemarble_256_256_3_byte.lerc2' @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') @pytest.mark.parametrize( 'file', [ 'world.lerc1', 'california_400_400_1_float.lerc2', 'bluemarble_256_256_3_byte.lerc2', 'zstd.lerc2', ], ) def test_lerc_files(file): """Test LERC decoder with lerc testData files.""" with open(datafiles(f'lerc/{file}'), 'rb') as fh: encoded = fh.read() > decoded = imagecodecs.lerc_decode(encoded, masks=False) tests/test_imagecodecs.py:3666: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs._lerc.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:285: LercError _________________________ test_lerc_files[zstd.lerc2] __________________________ file = 'zstd.lerc2' @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') @pytest.mark.parametrize( 'file', [ 'world.lerc1', 'california_400_400_1_float.lerc2', 'bluemarble_256_256_3_byte.lerc2', 'zstd.lerc2', ], ) def test_lerc_files(file): """Test LERC decoder with lerc testData files.""" with open(datafiles(f'lerc/{file}'), 'rb') as fh: encoded = fh.read() > decoded = imagecodecs.lerc_decode(encoded, masks=False) tests/test_imagecodecs.py:3666: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs._lerc.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:285: LercError _________________________ test_lerc_compression[None] __________________________ compression = None @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') @pytest.mark.parametrize('compression', [None, 'zstd', 'deflate']) def test_lerc_compression(compression): """Test LERC with compression.""" data = image_data('rgb', 'uint16') compressionargs = { None: None, 'zstd': {'level': 10}, 'deflate': {'level': 7}, }[compression] > compressed = imagecodecs.lerc_encode( data, compression=compression, compressionargs=compressionargs ) tests/test_imagecodecs.py:3714: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________________ test_lerc_compression[zstd] __________________________ compression = 'zstd' @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') @pytest.mark.parametrize('compression', [None, 'zstd', 'deflate']) def test_lerc_compression(compression): """Test LERC with compression.""" data = image_data('rgb', 'uint16') compressionargs = { None: None, 'zstd': {'level': 10}, 'deflate': {'level': 7}, }[compression] > compressed = imagecodecs.lerc_encode( data, compression=compression, compressionargs=compressionargs ) tests/test_imagecodecs.py:3714: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________________ test_lerc_compression[deflate] ________________________ compression = 'deflate' @pytest.mark.skipif(not imagecodecs.LERC.available, reason='lerc missing') @pytest.mark.parametrize('compression', [None, 'zstd', 'deflate']) def test_lerc_compression(compression): """Test LERC with compression.""" data = image_data('rgb', 'uint16') compressionargs = { None: None, 'zstd': {'level': 10}, 'deflate': {'level': 7}, }[compression] > compressed = imagecodecs.lerc_encode( data, compression=compression, compressionargs=compressionargs ) tests/test_imagecodecs.py:3714: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________________________ test_lerc_masks ________________________________ @pytest.mark.skipif( not imagecodecs.LERC.available or IS_PYPY, reason='lerc missing' ) def test_lerc_masks(): """Test LERC codec with masks.""" stack = image_data('stack', numpy.float32) masks = image_data('stack', bool) # 1 band, no mask data = stack[0] > encoded = imagecodecs.lerc_encode(data) tests/test_imagecodecs.py:3732: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_image_roundtrips[bmp-uint8-rgb-new-new-None] _______________ codec = 'bmp', dtype = dtype('uint8'), itype = 'rgb', enout = 'new' deout = 'new', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4456: AssertionError _______________ test_image_roundtrips[bmp-uint8-gray-new-new-5] ________________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'new', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4456: AssertionError _______________ test_image_roundtrips[bmp-uint8-gray-new-new--1] _______________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'new', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4456: AssertionError ______________ test_image_roundtrips[bmp-uint8-gray-new-out-None] ______________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'out', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4456: AssertionError _______________ test_image_roundtrips[bmp-uint8-gray-new-out-5] ________________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'out', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4456: AssertionError _______________ test_image_roundtrips[bmp-uint8-gray-new-out--1] _______________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'out', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4456: AssertionError ___________ test_image_roundtrips[bmp-uint8-gray-new-bytearray-None] ___________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'bytearray', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4456: AssertionError ____________ test_image_roundtrips[bmp-uint8-gray-new-bytearray-5] _____________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'bytearray', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4456: AssertionError ____________ test_image_roundtrips[bmp-uint8-gray-new-bytearray--1] ____________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'bytearray', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4456: AssertionError ___________ test_image_roundtrips[bmp-uint8-gray-bytearray-new-None] ___________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'new', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4456: AssertionError ____________ test_image_roundtrips[bmp-uint8-gray-bytearray-new-5] _____________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'new', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4456: AssertionError ____________ test_image_roundtrips[bmp-uint8-gray-bytearray-new--1] ____________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'new', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4456: AssertionError ___________ test_image_roundtrips[bmp-uint8-gray-bytearray-out-None] ___________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'out', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4456: AssertionError ____________ test_image_roundtrips[bmp-uint8-gray-bytearray-out-5] _____________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'out', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4456: AssertionError ____________ test_image_roundtrips[bmp-uint8-gray-bytearray-out--1] ____________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'out', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4456: AssertionError ________ test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray-None] ________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4456: AssertionError _________ test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray-5] __________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4456: AssertionError _________ test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray--1] _________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4456: AssertionError ___________________ test_tiff_files[rgb.tiled.jpeg.u1-False] ___________________ name = 'rgb.tiled.jpeg.u1', asrgb = False @pytest.mark.skipif(not imagecodecs.TIFF.available, reason='tiff missing') @pytest.mark.skipif(tifffile is None, reason='tifffile missing') @pytest.mark.parametrize('asrgb', [False, True]) @pytest.mark.parametrize('name', TIFF_FILES) def test_tiff_files(name, asrgb): """Test TIFF decode with existing files against tifffile.""" decode = imagecodecs.tiff_decode if ( 'depth' in name or 'png' in name or 'jpeg2000' in name or 'jpegxl' in name or 'jpegxr' in name or 'jpeg.u2' in name or (not IS_CG and ('webp' in name or 'zstd' in name or 'lzma' in name)) ): pytest.xfail('not supported by libtiff or tiff_decode') filename = 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:4604: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[[134, 122, 100], [132, 120, 98], [129, 116, 99], ..., [141, 158, 166],..., [255, 147, 148], [255, 149, 151], [255, 146, 148]]]], shape=(2, 83, 111, 3), dtype=uint8)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 53818 / 55278 (97.4%) E Max absolute difference among violations: 128 E Max relative difference among violations: 0.50196 E ACTUAL: array([[[[134, 122, 100], E [132, 120, 98], E [129, 116, 99],... E DESIRED: array([[[[255, 100, 122], E [255, 98, 120], E [255, 99, 116],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError _________________________ test_tifffile[lzw-True-f2-<] _________________________ byteorder = '<', dtype = 'f2', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:4750: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0.818 , 0.656 ], ... 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], shape=(32, 31, 3), dtype=float16)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError _________________________ test_tifffile[lzw-True-f2->] _________________________ byteorder = '>', dtype = 'f2', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:4750: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0.818 , 0.656 ], ...n, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], shape=(32, 31, 3), dtype=' return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError _________________________ test_tifffile[lzw-True-f4-<] _________________________ byteorder = '<', dtype = 'f4', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:4750: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0.81796, 0.65563], ...4825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], shape=(32, 31, 3), dtype=float32)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError _________________________ test_tifffile[lzw-True-f4->] _________________________ byteorder = '>', dtype = 'f4', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:4750: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0.81796, 0.65563], ....24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], shape=(32, 31, 3), dtype=' return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ________________________ test_tifffile[zstd-True-f2-<] _________________________ byteorder = '<', dtype = 'f2', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:4750: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0.818 , 0.656 ], ... 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], shape=(32, 31, 3), dtype=float16)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ________________________ test_tifffile[zstd-True-f2->] _________________________ byteorder = '>', dtype = 'f2', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:4750: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0.818 , 0.656 ], ...n, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], shape=(32, 31, 3), dtype=' return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ________________________ test_tifffile[zstd-True-f4-<] _________________________ byteorder = '<', dtype = 'f4', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:4750: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0.81796, 0.65563], ...4825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], shape=(32, 31, 3), dtype=float32)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ________________________ test_tifffile[zstd-True-f4->] _________________________ byteorder = '>', dtype = 'f4', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:4750: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0.81796, 0.65563], ....24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], shape=(32, 31, 3), dtype=' return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_tifffile[packbits-True-f2-<] _______________________ byteorder = '<', dtype = 'f2', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:4750: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0.818 , 0.656 ], ... 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], shape=(32, 31, 3), dtype=float16)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_tifffile[packbits-True-f2->] _______________________ byteorder = '>', dtype = 'f2', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:4750: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0.818 , 0.656 ], ...n, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], shape=(32, 31, 3), dtype=' return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_tifffile[packbits-True-f4-<] _______________________ byteorder = '<', dtype = 'f4', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:4750: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0.81796, 0.65563], ...4825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], shape=(32, 31, 3), dtype=float32)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_tifffile[packbits-True-f4->] _______________________ byteorder = '>', dtype = 'f4', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:4750: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0.81796, 0.65563], ....24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], shape=(32, 31, 3), dtype=' return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ________________________ test_tifffile[jpeg-False-u1-<] ________________________ byteorder = '<', dtype = 'u1', codec = 'jpeg', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': assert_array_equal(data, image, verbose=True) if imagecodecs.TIFF.available: if not (predictor and codec in {'packbits', 'lerc'}): # libtiff does not support {codec} with predictor fh.seek(0) image2 = imagecodecs.tiff_decode(fh.read()) > assert_array_equal(image2, image, verbose=True) tests/test_imagecodecs.py:4757: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[255, 153, 189], [255, 161, 201], [255, 161, 207], ..., [255, 111, 157], ... ..., [136, 128, 66], [139, 132, 54], [138, 134, 43]]], shape=(32, 31, 3), dtype=uint8)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 2956 / 2976 (99.3%) E Max absolute difference among violations: 128 E Max relative difference among violations: 5.35294 E ACTUAL: array([[[255, 153, 189], E [255, 161, 201], E [255, 161, 207],... E DESIRED: array([[[147, 189, 153], E [166, 201, 161], E [185, 207, 161],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ________________________ test_tifffile[jpeg-False-u1->] ________________________ byteorder = '>', dtype = 'u1', codec = 'jpeg', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': assert_array_equal(data, image, verbose=True) if imagecodecs.TIFF.available: if not (predictor and codec in {'packbits', 'lerc'}): # libtiff does not support {codec} with predictor fh.seek(0) image2 = imagecodecs.tiff_decode(fh.read()) > assert_array_equal(image2, image, verbose=True) tests/test_imagecodecs.py:4757: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[255, 153, 189], [255, 161, 201], [255, 161, 207], ..., [255, 111, 157], ... ..., [136, 128, 66], [139, 132, 54], [138, 134, 43]]], shape=(32, 31, 3), dtype=uint8)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 2956 / 2976 (99.3%) E Max absolute difference among violations: 128 E Max relative difference among violations: 5.35294 E ACTUAL: array([[[255, 153, 189], E [255, 161, 201], E [255, 161, 207],... E DESIRED: array([[[147, 189, 153], E [166, 201, 161], E [185, 207, 161],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ________________________ test_tifffile[lerc-False-u1-<] ________________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________________ test_tifffile[lerc-False-u2-<] ________________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:131: ValueError ________________________ test_tifffile[lerc-False-f4-<] ________________________ byteorder = '<', dtype = 'f4', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:131: ValueError ________________________ test_tifffile[lerc-True-u1-<] _________________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________________ test_tifffile[lerc-True-u2-<] _________________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:131: ValueError _____________________ test_tifffile[lerc_zstd-False-u1-<] ______________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _____________________ test_tifffile[lerc_zstd-False-u2-<] ______________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:131: ValueError _____________________ test_tifffile[lerc_zstd-False-f4-<] ______________________ byteorder = '<', dtype = 'f4', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:131: ValueError ______________________ test_tifffile[lerc_zstd-True-u1-<] ______________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________________ test_tifffile[lerc_zstd-True-u2-<] ______________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:131: ValueError ____________________ test_tifffile[lerc_deflate-False-u1-<] ____________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_tifffile[lerc_deflate-False-u2-<] ____________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:131: ValueError ____________________ test_tifffile[lerc_deflate-False-f4-<] ____________________ byteorder = '<', dtype = 'f4', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:131: ValueError ____________________ test_tifffile[lerc_deflate-True-u1-<] _____________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ____________________ test_tifffile[lerc_deflate-True-u2-<] _____________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4730: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1432: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3615: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22633: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22627: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3388: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:131: ValueError _________________________ test_numcodecs[float24-gray] _________________________ codec = 'float24', photometric = 'gray' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb', 'stack']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', 'bmp', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'lz4h5', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pcodec', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'sperr', 'spng', 'sz3', 'szip', 'tiff', # no encoder 'ultrahdr', 'webp', 'xor', 'zfp', 'zlib', 'zlibng', 'zopfli', 'zstd', ], ) def test_numcodecs(codec, photometric): """Test numcodecs though roundtrips.""" data = numpy.load(datafiles('rgb.u1.npy')) data = numpy.stack([data, data]) if photometric == 'rgb': shape = data.shape chunks = (1, 128, 128, 3) axis = -2 elif photometric == 'gray': data = data[..., 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 else: # https://github.com/cgohlke/imagecodecs/issues/98 data = data[:, :128, :128].copy() photometric = 'rgb' shape = data.shape chunks = (1, *data.shape[1:]) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=100, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'blosc2': if not imagecodecs.BLOSC2.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc2( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bmp(asrgb=None) elif codec == 'brotli': if not imagecodecs.BROTLI.available: pytest.skip(f'{codec} not found') # TODO: why are these failing? pytest.xfail('not sure why this is failing') compressor = numcodecs.Brotli(level=11, mode=None, lgwin=None) elif codec == 'byteshuffle': if not imagecodecs.BYTESHUFFLE.available: pytest.skip(f'{codec} not found') data = data.astype('int16') compressor = numcodecs.Byteshuffle( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'bz2': if not imagecodecs.BZ2.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Floatpred( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'gif': if not imagecodecs.GIF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'lz4h5': if not imagecodecs.LZ4H5.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4h5(level=10, blocksize=100) elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Heif(photometric=photometric) lossless = False # TODO: lossless not working atol = 1 elif codec == 'jetraw': if not imagecodecs.JETRAW.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('Jetraw does not support RGB') compressor = numcodecs.Jetraw( shape=chunks, identifier='500202_fast_bin1x' ) data = data.astype('uint16') lossless = False atol = 32 elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip(f'{codec} not found') lossless = False atol = 4 << 4 data = data.astype('uint16') << 4 compressor = numcodecs.Jpeg(level=99, bitspersample=12) elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegls(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'JPEGXS does not support {photometric=}') compressor = numcodecs.Jpegxs(config='p=MLS.12', verbose=1) elif codec == 'ultrahdr': if not imagecodecs.ULTRAHDR.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'ULTRAHDR does not support {photometric=}') else: pytest.xfail('ultrahdr_encode not working') data = data.astype('float32') data /= data.max() data = data.astype('float16') compressor = numcodecs.Ultrahdr() lossless = False atol = 1e-2 elif codec == 'lerc': if not imagecodecs.LERC.available: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD.available: compression = 'zstd' compressionargs = {'level': 10} else: compression = None compressionargs = None compressor = numcodecs.Lerc( level=0.0, compression=compression, compressionargs=compressionargs ) elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('LJPEG does not support rgb') data = data.astype('uint16') << 2 compressor = numcodecs.Ljpeg(bitspersample=10) elif codec == 'lz4': if not imagecodecs.LZ4.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.Packbits(axis=-2) else: compressor = numcodecs.Packbits() elif codec == 'pcodec': if not imagecodecs.PCODEC.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Pcodec( level=8, shape=chunks[1:], dtype=data.dtype, ) lossless = False atol = 1e-2 elif codec == 'pglz': if not imagecodecs.PGLZ.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Qoi() if photometric != 'rgb': pytest.xfail('QOI does not support grayscale') elif codec == 'rgbe': if not imagecodecs.RGBE.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('RGBE does not support grayscale') data = data.astype('float32') # lossless = False compressor = numcodecs.Rgbe(shape=chunks[-3:], header=False, rle=True) elif codec == 'rcomp': if not imagecodecs.RCOMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype.str) elif codec == 'snappy': if not imagecodecs.SNAPPY.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'sperr': if not imagecodecs.SPERR.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Sperr( level=100.0, mode='psnr', shape=chunks[1:], dtype=data.dtype, header=False, ) lossless = False atol = 1e-2 elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'sz3': if not imagecodecs.SZ3.available: pytest.skip(f'{codec} not found') data = data.astype('float32') atol = 1e-3 compressor = numcodecs.Sz3( mode='abs', abs=atol, shape=chunks[1:], dtype=data.dtype, ) lossless = False elif codec == 'szip': if not imagecodecs.SZIP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Szip( header=True, **imagecodecs.szip_params(data) ) elif codec == 'tiff': if not imagecodecs.TIFF.available: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('WebP does not support grayscale') compressor = numcodecs.Webp(level=-1) elif codec == 'xor': if not imagecodecs.XOR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Zfp( shape=chunks, dtype=data.dtype, header=False ) elif codec == 'zlib': if not imagecodecs.ZLIB.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zstd(level=10) else: raise RuntimeError() if 0: # use ZIP file on disk fname = f'test_{codec}.{photometric}.{data.dtype.str[1:]}.zarr.zip' store = zarr.ZipStore(fname, mode='w') else: 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[:, :150, :150], data[:, :150, :150]) tests/test_imagecodecs.py:5279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0., 0., 0., ..., 0., 0., 0.], [0., 0., 0., ..., 0., 0., 0.], [0., 0., 0., ..., 0., 0., 0.], ......, 98., 99., 101.], [201., 201., 201., ..., 96., 97., 99.]]], shape=(2, 150, 150), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 45000 / 45000 (100%) E Max absolute difference among violations: 207. E Max relative difference among violations: 1. E ACTUAL: array([[[0., 0., 0., ..., 0., 0., 0.], E [0., 0., 0., ..., 0., 0., 0.], E [0., 0., 0., ..., 0., 0., 0.],... E DESIRED: array([[[141., 140., 139., ..., 7., 7., 7.], E [138., 137., 136., ..., 7., 7., 7.], E [135., 133., 132., ..., 6., 6., 6.],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError _________________________ test_numcodecs[float24-rgb] __________________________ codec = 'float24', photometric = 'rgb' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb', 'stack']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', 'bmp', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'lz4h5', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pcodec', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'sperr', 'spng', 'sz3', 'szip', 'tiff', # no encoder 'ultrahdr', 'webp', 'xor', 'zfp', 'zlib', 'zlibng', 'zopfli', 'zstd', ], ) def test_numcodecs(codec, photometric): """Test numcodecs though roundtrips.""" data = numpy.load(datafiles('rgb.u1.npy')) data = numpy.stack([data, data]) if photometric == 'rgb': shape = data.shape chunks = (1, 128, 128, 3) axis = -2 elif photometric == 'gray': data = data[..., 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 else: # https://github.com/cgohlke/imagecodecs/issues/98 data = data[:, :128, :128].copy() photometric = 'rgb' shape = data.shape chunks = (1, *data.shape[1:]) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=100, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'blosc2': if not imagecodecs.BLOSC2.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc2( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bmp(asrgb=None) elif codec == 'brotli': if not imagecodecs.BROTLI.available: pytest.skip(f'{codec} not found') # TODO: why are these failing? pytest.xfail('not sure why this is failing') compressor = numcodecs.Brotli(level=11, mode=None, lgwin=None) elif codec == 'byteshuffle': if not imagecodecs.BYTESHUFFLE.available: pytest.skip(f'{codec} not found') data = data.astype('int16') compressor = numcodecs.Byteshuffle( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'bz2': if not imagecodecs.BZ2.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Floatpred( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'gif': if not imagecodecs.GIF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'lz4h5': if not imagecodecs.LZ4H5.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4h5(level=10, blocksize=100) elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Heif(photometric=photometric) lossless = False # TODO: lossless not working atol = 1 elif codec == 'jetraw': if not imagecodecs.JETRAW.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('Jetraw does not support RGB') compressor = numcodecs.Jetraw( shape=chunks, identifier='500202_fast_bin1x' ) data = data.astype('uint16') lossless = False atol = 32 elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip(f'{codec} not found') lossless = False atol = 4 << 4 data = data.astype('uint16') << 4 compressor = numcodecs.Jpeg(level=99, bitspersample=12) elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegls(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'JPEGXS does not support {photometric=}') compressor = numcodecs.Jpegxs(config='p=MLS.12', verbose=1) elif codec == 'ultrahdr': if not imagecodecs.ULTRAHDR.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'ULTRAHDR does not support {photometric=}') else: pytest.xfail('ultrahdr_encode not working') data = data.astype('float32') data /= data.max() data = data.astype('float16') compressor = numcodecs.Ultrahdr() lossless = False atol = 1e-2 elif codec == 'lerc': if not imagecodecs.LERC.available: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD.available: compression = 'zstd' compressionargs = {'level': 10} else: compression = None compressionargs = None compressor = numcodecs.Lerc( level=0.0, compression=compression, compressionargs=compressionargs ) elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('LJPEG does not support rgb') data = data.astype('uint16') << 2 compressor = numcodecs.Ljpeg(bitspersample=10) elif codec == 'lz4': if not imagecodecs.LZ4.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.Packbits(axis=-2) else: compressor = numcodecs.Packbits() elif codec == 'pcodec': if not imagecodecs.PCODEC.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Pcodec( level=8, shape=chunks[1:], dtype=data.dtype, ) lossless = False atol = 1e-2 elif codec == 'pglz': if not imagecodecs.PGLZ.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Qoi() if photometric != 'rgb': pytest.xfail('QOI does not support grayscale') elif codec == 'rgbe': if not imagecodecs.RGBE.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('RGBE does not support grayscale') data = data.astype('float32') # lossless = False compressor = numcodecs.Rgbe(shape=chunks[-3:], header=False, rle=True) elif codec == 'rcomp': if not imagecodecs.RCOMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype.str) elif codec == 'snappy': if not imagecodecs.SNAPPY.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'sperr': if not imagecodecs.SPERR.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Sperr( level=100.0, mode='psnr', shape=chunks[1:], dtype=data.dtype, header=False, ) lossless = False atol = 1e-2 elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'sz3': if not imagecodecs.SZ3.available: pytest.skip(f'{codec} not found') data = data.astype('float32') atol = 1e-3 compressor = numcodecs.Sz3( mode='abs', abs=atol, shape=chunks[1:], dtype=data.dtype, ) lossless = False elif codec == 'szip': if not imagecodecs.SZIP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Szip( header=True, **imagecodecs.szip_params(data) ) elif codec == 'tiff': if not imagecodecs.TIFF.available: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('WebP does not support grayscale') compressor = numcodecs.Webp(level=-1) elif codec == 'xor': if not imagecodecs.XOR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Zfp( shape=chunks, dtype=data.dtype, header=False ) elif codec == 'zlib': if not imagecodecs.ZLIB.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zstd(level=10) else: raise RuntimeError() if 0: # use ZIP file on disk fname = f'test_{codec}.{photometric}.{data.dtype.str[1:]}.zarr.zip' store = zarr.ZipStore(fname, mode='w') else: 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[:, :150, :150], data[:, :150, :150]) tests/test_imagecodecs.py:5279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[[0., 0., 0.], [0., 0., 0.], [0., 0., 0.], ..., [0., 0., 0.], [0... 47., 96., 65.], [ 51., 97., 66.], [ 54., 99., 67.]]]], shape=(2, 150, 150, 3), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 135000 / 135000 (100%) E Max absolute difference among violations: 246. E Max relative difference among violations: 1. E ACTUAL: array([[[[0., 0., 0.], E [0., 0., 0.], E [0., 0., 0.],... E DESIRED: array([[[[128., 141., 224.], E [128., 140., 224.], E [128., 139., 224.],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ________________________ test_numcodecs[float24-stack] _________________________ codec = 'float24', photometric = 'rgb' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb', 'stack']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', 'bmp', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'lz4h5', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pcodec', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'sperr', 'spng', 'sz3', 'szip', 'tiff', # no encoder 'ultrahdr', 'webp', 'xor', 'zfp', 'zlib', 'zlibng', 'zopfli', 'zstd', ], ) def test_numcodecs(codec, photometric): """Test numcodecs though roundtrips.""" data = numpy.load(datafiles('rgb.u1.npy')) data = numpy.stack([data, data]) if photometric == 'rgb': shape = data.shape chunks = (1, 128, 128, 3) axis = -2 elif photometric == 'gray': data = data[..., 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 else: # https://github.com/cgohlke/imagecodecs/issues/98 data = data[:, :128, :128].copy() photometric = 'rgb' shape = data.shape chunks = (1, *data.shape[1:]) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=100, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'blosc2': if not imagecodecs.BLOSC2.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc2( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bmp(asrgb=None) elif codec == 'brotli': if not imagecodecs.BROTLI.available: pytest.skip(f'{codec} not found') # TODO: why are these failing? pytest.xfail('not sure why this is failing') compressor = numcodecs.Brotli(level=11, mode=None, lgwin=None) elif codec == 'byteshuffle': if not imagecodecs.BYTESHUFFLE.available: pytest.skip(f'{codec} not found') data = data.astype('int16') compressor = numcodecs.Byteshuffle( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'bz2': if not imagecodecs.BZ2.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Floatpred( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'gif': if not imagecodecs.GIF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'lz4h5': if not imagecodecs.LZ4H5.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4h5(level=10, blocksize=100) elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Heif(photometric=photometric) lossless = False # TODO: lossless not working atol = 1 elif codec == 'jetraw': if not imagecodecs.JETRAW.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('Jetraw does not support RGB') compressor = numcodecs.Jetraw( shape=chunks, identifier='500202_fast_bin1x' ) data = data.astype('uint16') lossless = False atol = 32 elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip(f'{codec} not found') lossless = False atol = 4 << 4 data = data.astype('uint16') << 4 compressor = numcodecs.Jpeg(level=99, bitspersample=12) elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegls(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'JPEGXS does not support {photometric=}') compressor = numcodecs.Jpegxs(config='p=MLS.12', verbose=1) elif codec == 'ultrahdr': if not imagecodecs.ULTRAHDR.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'ULTRAHDR does not support {photometric=}') else: pytest.xfail('ultrahdr_encode not working') data = data.astype('float32') data /= data.max() data = data.astype('float16') compressor = numcodecs.Ultrahdr() lossless = False atol = 1e-2 elif codec == 'lerc': if not imagecodecs.LERC.available: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD.available: compression = 'zstd' compressionargs = {'level': 10} else: compression = None compressionargs = None compressor = numcodecs.Lerc( level=0.0, compression=compression, compressionargs=compressionargs ) elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('LJPEG does not support rgb') data = data.astype('uint16') << 2 compressor = numcodecs.Ljpeg(bitspersample=10) elif codec == 'lz4': if not imagecodecs.LZ4.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.Packbits(axis=-2) else: compressor = numcodecs.Packbits() elif codec == 'pcodec': if not imagecodecs.PCODEC.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Pcodec( level=8, shape=chunks[1:], dtype=data.dtype, ) lossless = False atol = 1e-2 elif codec == 'pglz': if not imagecodecs.PGLZ.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Qoi() if photometric != 'rgb': pytest.xfail('QOI does not support grayscale') elif codec == 'rgbe': if not imagecodecs.RGBE.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('RGBE does not support grayscale') data = data.astype('float32') # lossless = False compressor = numcodecs.Rgbe(shape=chunks[-3:], header=False, rle=True) elif codec == 'rcomp': if not imagecodecs.RCOMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype.str) elif codec == 'snappy': if not imagecodecs.SNAPPY.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'sperr': if not imagecodecs.SPERR.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Sperr( level=100.0, mode='psnr', shape=chunks[1:], dtype=data.dtype, header=False, ) lossless = False atol = 1e-2 elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'sz3': if not imagecodecs.SZ3.available: pytest.skip(f'{codec} not found') data = data.astype('float32') atol = 1e-3 compressor = numcodecs.Sz3( mode='abs', abs=atol, shape=chunks[1:], dtype=data.dtype, ) lossless = False elif codec == 'szip': if not imagecodecs.SZIP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Szip( header=True, **imagecodecs.szip_params(data) ) elif codec == 'tiff': if not imagecodecs.TIFF.available: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('WebP does not support grayscale') compressor = numcodecs.Webp(level=-1) elif codec == 'xor': if not imagecodecs.XOR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Zfp( shape=chunks, dtype=data.dtype, header=False ) elif codec == 'zlib': if not imagecodecs.ZLIB.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zstd(level=10) else: raise RuntimeError() if 0: # use ZIP file on disk fname = f'test_{codec}.{photometric}.{data.dtype.str[1:]}.zarr.zip' store = zarr.ZipStore(fname, mode='w') else: 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[:, :150, :150], data[:, :150, :150]) tests/test_imagecodecs.py:5279: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[[0., 0., 0.], [0., 0., 0.], [0., 0., 0.], ..., [0., 0., 0.], [0... 50., 129., 130.], [ 49., 129., 130.], [ 48., 129., 130.]]]], shape=(2, 128, 128, 3), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 98304 / 98304 (100%) E Max absolute difference among violations: 246. E Max relative difference among violations: 1. E ACTUAL: array([[[[0., 0., 0.], E [0., 0., 0.], E [0., 0., 0.],... E DESIRED: array([[[[128., 141., 224.], E [128., 140., 224.], E [128., 139., 224.],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError __________________________ test_numcodecs[lerc-gray] ___________________________ codec = 'lerc', photometric = 'gray' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb', 'stack']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', 'bmp', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'lz4h5', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pcodec', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'sperr', 'spng', 'sz3', 'szip', 'tiff', # no encoder 'ultrahdr', 'webp', 'xor', 'zfp', 'zlib', 'zlibng', 'zopfli', 'zstd', ], ) def test_numcodecs(codec, photometric): """Test numcodecs though roundtrips.""" data = numpy.load(datafiles('rgb.u1.npy')) data = numpy.stack([data, data]) if photometric == 'rgb': shape = data.shape chunks = (1, 128, 128, 3) axis = -2 elif photometric == 'gray': data = data[..., 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 else: # https://github.com/cgohlke/imagecodecs/issues/98 data = data[:, :128, :128].copy() photometric = 'rgb' shape = data.shape chunks = (1, *data.shape[1:]) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=100, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'blosc2': if not imagecodecs.BLOSC2.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc2( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bmp(asrgb=None) elif codec == 'brotli': if not imagecodecs.BROTLI.available: pytest.skip(f'{codec} not found') # TODO: why are these failing? pytest.xfail('not sure why this is failing') compressor = numcodecs.Brotli(level=11, mode=None, lgwin=None) elif codec == 'byteshuffle': if not imagecodecs.BYTESHUFFLE.available: pytest.skip(f'{codec} not found') data = data.astype('int16') compressor = numcodecs.Byteshuffle( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'bz2': if not imagecodecs.BZ2.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Floatpred( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'gif': if not imagecodecs.GIF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'lz4h5': if not imagecodecs.LZ4H5.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4h5(level=10, blocksize=100) elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Heif(photometric=photometric) lossless = False # TODO: lossless not working atol = 1 elif codec == 'jetraw': if not imagecodecs.JETRAW.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('Jetraw does not support RGB') compressor = numcodecs.Jetraw( shape=chunks, identifier='500202_fast_bin1x' ) data = data.astype('uint16') lossless = False atol = 32 elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip(f'{codec} not found') lossless = False atol = 4 << 4 data = data.astype('uint16') << 4 compressor = numcodecs.Jpeg(level=99, bitspersample=12) elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegls(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'JPEGXS does not support {photometric=}') compressor = numcodecs.Jpegxs(config='p=MLS.12', verbose=1) elif codec == 'ultrahdr': if not imagecodecs.ULTRAHDR.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'ULTRAHDR does not support {photometric=}') else: pytest.xfail('ultrahdr_encode not working') data = data.astype('float32') data /= data.max() data = data.astype('float16') compressor = numcodecs.Ultrahdr() lossless = False atol = 1e-2 elif codec == 'lerc': if not imagecodecs.LERC.available: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD.available: compression = 'zstd' compressionargs = {'level': 10} else: compression = None compressionargs = None compressor = numcodecs.Lerc( level=0.0, compression=compression, compressionargs=compressionargs ) elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('LJPEG does not support rgb') data = data.astype('uint16') << 2 compressor = numcodecs.Ljpeg(bitspersample=10) elif codec == 'lz4': if not imagecodecs.LZ4.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.Packbits(axis=-2) else: compressor = numcodecs.Packbits() elif codec == 'pcodec': if not imagecodecs.PCODEC.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Pcodec( level=8, shape=chunks[1:], dtype=data.dtype, ) lossless = False atol = 1e-2 elif codec == 'pglz': if not imagecodecs.PGLZ.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Qoi() if photometric != 'rgb': pytest.xfail('QOI does not support grayscale') elif codec == 'rgbe': if not imagecodecs.RGBE.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('RGBE does not support grayscale') data = data.astype('float32') # lossless = False compressor = numcodecs.Rgbe(shape=chunks[-3:], header=False, rle=True) elif codec == 'rcomp': if not imagecodecs.RCOMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype.str) elif codec == 'snappy': if not imagecodecs.SNAPPY.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'sperr': if not imagecodecs.SPERR.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Sperr( level=100.0, mode='psnr', shape=chunks[1:], dtype=data.dtype, header=False, ) lossless = False atol = 1e-2 elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'sz3': if not imagecodecs.SZ3.available: pytest.skip(f'{codec} not found') data = data.astype('float32') atol = 1e-3 compressor = numcodecs.Sz3( mode='abs', abs=atol, shape=chunks[1:], dtype=data.dtype, ) lossless = False elif codec == 'szip': if not imagecodecs.SZIP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Szip( header=True, **imagecodecs.szip_params(data) ) elif codec == 'tiff': if not imagecodecs.TIFF.available: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('WebP does not support grayscale') compressor = numcodecs.Webp(level=-1) elif codec == 'xor': if not imagecodecs.XOR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Zfp( shape=chunks, dtype=data.dtype, header=False ) elif codec == 'zlib': if not imagecodecs.ZLIB.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zstd(level=10) else: raise RuntimeError() if 0: # use ZIP file on disk fname = f'test_{codec}.{photometric}.{data.dtype.str[1:]}.zarr.zip' store = zarr.ZipStore(fname, mode='w') else: 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:5272: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/zarr/core.py:1450: in __setitem__ self.set_basic_selection(pure_selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1546: in set_basic_selection return self._set_basic_selection_nd(selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1936: in _set_basic_selection_nd self._set_selection(indexer, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1989: in _set_selection self._chunk_setitem(chunk_coords, chunk_selection, chunk_value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2262: in _chunk_setitem self._chunk_setitem_nosync(chunk_coords, chunk_selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2272: in _chunk_setitem_nosync self.chunk_store[ckey] = self._encode_chunk(cdata) /usr/lib/python3.13/site-packages/zarr/core.py:2396: in _encode_chunk cdata = self._compressor.encode(chunk) ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/numcodecs.py:1233: in encode return imagecodecs.lerc_encode( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ___________________________ test_numcodecs[lerc-rgb] ___________________________ codec = 'lerc', photometric = 'rgb' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb', 'stack']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', 'bmp', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'lz4h5', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pcodec', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'sperr', 'spng', 'sz3', 'szip', 'tiff', # no encoder 'ultrahdr', 'webp', 'xor', 'zfp', 'zlib', 'zlibng', 'zopfli', 'zstd', ], ) def test_numcodecs(codec, photometric): """Test numcodecs though roundtrips.""" data = numpy.load(datafiles('rgb.u1.npy')) data = numpy.stack([data, data]) if photometric == 'rgb': shape = data.shape chunks = (1, 128, 128, 3) axis = -2 elif photometric == 'gray': data = data[..., 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 else: # https://github.com/cgohlke/imagecodecs/issues/98 data = data[:, :128, :128].copy() photometric = 'rgb' shape = data.shape chunks = (1, *data.shape[1:]) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=100, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'blosc2': if not imagecodecs.BLOSC2.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc2( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bmp(asrgb=None) elif codec == 'brotli': if not imagecodecs.BROTLI.available: pytest.skip(f'{codec} not found') # TODO: why are these failing? pytest.xfail('not sure why this is failing') compressor = numcodecs.Brotli(level=11, mode=None, lgwin=None) elif codec == 'byteshuffle': if not imagecodecs.BYTESHUFFLE.available: pytest.skip(f'{codec} not found') data = data.astype('int16') compressor = numcodecs.Byteshuffle( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'bz2': if not imagecodecs.BZ2.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Floatpred( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'gif': if not imagecodecs.GIF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'lz4h5': if not imagecodecs.LZ4H5.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4h5(level=10, blocksize=100) elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Heif(photometric=photometric) lossless = False # TODO: lossless not working atol = 1 elif codec == 'jetraw': if not imagecodecs.JETRAW.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('Jetraw does not support RGB') compressor = numcodecs.Jetraw( shape=chunks, identifier='500202_fast_bin1x' ) data = data.astype('uint16') lossless = False atol = 32 elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip(f'{codec} not found') lossless = False atol = 4 << 4 data = data.astype('uint16') << 4 compressor = numcodecs.Jpeg(level=99, bitspersample=12) elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegls(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'JPEGXS does not support {photometric=}') compressor = numcodecs.Jpegxs(config='p=MLS.12', verbose=1) elif codec == 'ultrahdr': if not imagecodecs.ULTRAHDR.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'ULTRAHDR does not support {photometric=}') else: pytest.xfail('ultrahdr_encode not working') data = data.astype('float32') data /= data.max() data = data.astype('float16') compressor = numcodecs.Ultrahdr() lossless = False atol = 1e-2 elif codec == 'lerc': if not imagecodecs.LERC.available: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD.available: compression = 'zstd' compressionargs = {'level': 10} else: compression = None compressionargs = None compressor = numcodecs.Lerc( level=0.0, compression=compression, compressionargs=compressionargs ) elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('LJPEG does not support rgb') data = data.astype('uint16') << 2 compressor = numcodecs.Ljpeg(bitspersample=10) elif codec == 'lz4': if not imagecodecs.LZ4.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.Packbits(axis=-2) else: compressor = numcodecs.Packbits() elif codec == 'pcodec': if not imagecodecs.PCODEC.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Pcodec( level=8, shape=chunks[1:], dtype=data.dtype, ) lossless = False atol = 1e-2 elif codec == 'pglz': if not imagecodecs.PGLZ.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Qoi() if photometric != 'rgb': pytest.xfail('QOI does not support grayscale') elif codec == 'rgbe': if not imagecodecs.RGBE.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('RGBE does not support grayscale') data = data.astype('float32') # lossless = False compressor = numcodecs.Rgbe(shape=chunks[-3:], header=False, rle=True) elif codec == 'rcomp': if not imagecodecs.RCOMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype.str) elif codec == 'snappy': if not imagecodecs.SNAPPY.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'sperr': if not imagecodecs.SPERR.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Sperr( level=100.0, mode='psnr', shape=chunks[1:], dtype=data.dtype, header=False, ) lossless = False atol = 1e-2 elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'sz3': if not imagecodecs.SZ3.available: pytest.skip(f'{codec} not found') data = data.astype('float32') atol = 1e-3 compressor = numcodecs.Sz3( mode='abs', abs=atol, shape=chunks[1:], dtype=data.dtype, ) lossless = False elif codec == 'szip': if not imagecodecs.SZIP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Szip( header=True, **imagecodecs.szip_params(data) ) elif codec == 'tiff': if not imagecodecs.TIFF.available: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('WebP does not support grayscale') compressor = numcodecs.Webp(level=-1) elif codec == 'xor': if not imagecodecs.XOR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Zfp( shape=chunks, dtype=data.dtype, header=False ) elif codec == 'zlib': if not imagecodecs.ZLIB.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zstd(level=10) else: raise RuntimeError() if 0: # use ZIP file on disk fname = f'test_{codec}.{photometric}.{data.dtype.str[1:]}.zarr.zip' store = zarr.ZipStore(fname, mode='w') else: 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:5272: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/zarr/core.py:1450: in __setitem__ self.set_basic_selection(pure_selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1546: in set_basic_selection return self._set_basic_selection_nd(selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1936: in _set_basic_selection_nd self._set_selection(indexer, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1989: in _set_selection self._chunk_setitem(chunk_coords, chunk_selection, chunk_value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2262: in _chunk_setitem self._chunk_setitem_nosync(chunk_coords, chunk_selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2272: in _chunk_setitem_nosync self.chunk_store[ckey] = self._encode_chunk(cdata) /usr/lib/python3.13/site-packages/zarr/core.py:2396: in _encode_chunk cdata = self._compressor.encode(chunk) ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/numcodecs.py:1233: in encode return imagecodecs.lerc_encode( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________________ test_numcodecs[lerc-stack] __________________________ codec = 'lerc', photometric = 'rgb' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb', 'stack']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', 'bmp', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'lz4h5', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pcodec', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'sperr', 'spng', 'sz3', 'szip', 'tiff', # no encoder 'ultrahdr', 'webp', 'xor', 'zfp', 'zlib', 'zlibng', 'zopfli', 'zstd', ], ) def test_numcodecs(codec, photometric): """Test numcodecs though roundtrips.""" data = numpy.load(datafiles('rgb.u1.npy')) data = numpy.stack([data, data]) if photometric == 'rgb': shape = data.shape chunks = (1, 128, 128, 3) axis = -2 elif photometric == 'gray': data = data[..., 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 else: # https://github.com/cgohlke/imagecodecs/issues/98 data = data[:, :128, :128].copy() photometric = 'rgb' shape = data.shape chunks = (1, *data.shape[1:]) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=100, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'blosc2': if not imagecodecs.BLOSC2.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc2( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bmp(asrgb=None) elif codec == 'brotli': if not imagecodecs.BROTLI.available: pytest.skip(f'{codec} not found') # TODO: why are these failing? pytest.xfail('not sure why this is failing') compressor = numcodecs.Brotli(level=11, mode=None, lgwin=None) elif codec == 'byteshuffle': if not imagecodecs.BYTESHUFFLE.available: pytest.skip(f'{codec} not found') data = data.astype('int16') compressor = numcodecs.Byteshuffle( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'bz2': if not imagecodecs.BZ2.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Floatpred( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'gif': if not imagecodecs.GIF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'lz4h5': if not imagecodecs.LZ4H5.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4h5(level=10, blocksize=100) elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Heif(photometric=photometric) lossless = False # TODO: lossless not working atol = 1 elif codec == 'jetraw': if not imagecodecs.JETRAW.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('Jetraw does not support RGB') compressor = numcodecs.Jetraw( shape=chunks, identifier='500202_fast_bin1x' ) data = data.astype('uint16') lossless = False atol = 32 elif codec == 'jpeg': if not imagecodecs.JPEG.available: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip(f'{codec} not found') lossless = False atol = 4 << 4 data = data.astype('uint16') << 4 compressor = numcodecs.Jpeg(level=99, bitspersample=12) elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegls(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'JPEGXS does not support {photometric=}') compressor = numcodecs.Jpegxs(config='p=MLS.12', verbose=1) elif codec == 'ultrahdr': if not imagecodecs.ULTRAHDR.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'ULTRAHDR does not support {photometric=}') else: pytest.xfail('ultrahdr_encode not working') data = data.astype('float32') data /= data.max() data = data.astype('float16') compressor = numcodecs.Ultrahdr() lossless = False atol = 1e-2 elif codec == 'lerc': if not imagecodecs.LERC.available: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD.available: compression = 'zstd' compressionargs = {'level': 10} else: compression = None compressionargs = None compressor = numcodecs.Lerc( level=0.0, compression=compression, compressionargs=compressionargs ) elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('LJPEG does not support rgb') data = data.astype('uint16') << 2 compressor = numcodecs.Ljpeg(bitspersample=10) elif codec == 'lz4': if not imagecodecs.LZ4.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.Packbits(axis=-2) else: compressor = numcodecs.Packbits() elif codec == 'pcodec': if not imagecodecs.PCODEC.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Pcodec( level=8, shape=chunks[1:], dtype=data.dtype, ) lossless = False atol = 1e-2 elif codec == 'pglz': if not imagecodecs.PGLZ.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Qoi() if photometric != 'rgb': pytest.xfail('QOI does not support grayscale') elif codec == 'rgbe': if not imagecodecs.RGBE.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('RGBE does not support grayscale') data = data.astype('float32') # lossless = False compressor = numcodecs.Rgbe(shape=chunks[-3:], header=False, rle=True) elif codec == 'rcomp': if not imagecodecs.RCOMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype.str) elif codec == 'snappy': if not imagecodecs.SNAPPY.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'sperr': if not imagecodecs.SPERR.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Sperr( level=100.0, mode='psnr', shape=chunks[1:], dtype=data.dtype, header=False, ) lossless = False atol = 1e-2 elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'sz3': if not imagecodecs.SZ3.available: pytest.skip(f'{codec} not found') data = data.astype('float32') atol = 1e-3 compressor = numcodecs.Sz3( mode='abs', abs=atol, shape=chunks[1:], dtype=data.dtype, ) lossless = False elif codec == 'szip': if not imagecodecs.SZIP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Szip( header=True, **imagecodecs.szip_params(data) ) elif codec == 'tiff': if not imagecodecs.TIFF.available: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('WebP does not support grayscale') compressor = numcodecs.Webp(level=-1) elif codec == 'xor': if not imagecodecs.XOR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Zfp( shape=chunks, dtype=data.dtype, header=False ) elif codec == 'zlib': if not imagecodecs.ZLIB.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zstd(level=10) else: raise RuntimeError() if 0: # use ZIP file on disk fname = f'test_{codec}.{photometric}.{data.dtype.str[1:]}.zarr.zip' store = zarr.ZipStore(fname, mode='w') else: 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:5272: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/zarr/core.py:1450: in __setitem__ self.set_basic_selection(pure_selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1546: in set_basic_selection return self._set_basic_selection_nd(selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1936: in _set_basic_selection_nd self._set_selection(indexer, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1989: in _set_selection self._chunk_setitem(chunk_coords, chunk_selection, chunk_value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2262: in _chunk_setitem self._chunk_setitem_nosync(chunk_coords, chunk_selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2272: in _chunk_setitem_nosync self.chunk_store[ckey] = self._encode_chunk(cdata) /usr/lib/python3.13/site-packages/zarr/core.py:2396: in _encode_chunk cdata = self._compressor.encode(chunk) ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/numcodecs.py:1233: in encode return imagecodecs.lerc_encode( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError =========================== short test summary info ============================ FAILED tests/test_imagecodecs.py::test_packints_decode - AssertionError: asse... FAILED tests/test_imagecodecs.py::test_dicomrle[False-=-0] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-=-1] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-=-2] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-=-3] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-=-4] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-=-5] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-<-0] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-<-1] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-<-2] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-<-3] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-<-4] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-<-5] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False->-0] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False->-1] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False->-2] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False->-3] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False->-4] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False->-5] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[True-=-0] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-=-1] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-=-2] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-=-3] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-=-4] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-=-5] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-<-0] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-<-1] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-<-2] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-<-3] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-<-4] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-<-5] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True->-0] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True->-1] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True->-2] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True->-3] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True->-4] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True->-5] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle_numcodecs - ValueError: inval... FAILED tests/test_imagecodecs.py::test_floatpred[False-be-encode-new] - Asser... FAILED tests/test_imagecodecs.py::test_floatpred[False-be-encode-out] - Asser... FAILED tests/test_imagecodecs.py::test_floatpred[False-be-decode-new] - Asser... FAILED tests/test_imagecodecs.py::test_floatpred[False-be-decode-out] - Asser... FAILED tests/test_imagecodecs.py::test_floatpred[True-be-encode-new] - Assert... FAILED tests/test_imagecodecs.py::test_floatpred[True-be-encode-out] - Assert... FAILED tests/test_imagecodecs.py::test_floatpred[True-be-decode-new] - Assert... FAILED tests/test_imagecodecs.py::test_floatpred[True-be-decode-out] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f30-f40-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f31-f41-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f32-f42-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f33-f43-inf] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f34-f44--inf] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode->-f36-f46--0.0] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode->-f37-f47-1.0] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f38-f48--1.0] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode->-f39-f49-3.1416016] - ... FAILED tests/test_imagecodecs.py::test_float24[encode->-f310-f410-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[encode->-f311-f411-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[encode->-f312-f412-1e-19] - As... FAILED tests/test_imagecodecs.py::test_float24[encode->-f313-f413-inf] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode->-f314-f414-1.0842022e-19] FAILED tests/test_imagecodecs.py::test_float24[encode->-f315-f415-1.0842021e-19] FAILED tests/test_imagecodecs.py::test_float24[encode->-f316-f416-5.421011e-20] FAILED tests/test_imagecodecs.py::test_float24[encode->-f317-f417-3.3087225e-24] FAILED tests/test_imagecodecs.py::test_float24[encode->-f318-f418-2.1684043e-19] FAILED tests/test_imagecodecs.py::test_float24[encode->-f320-f420-0.0] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode->-f322-f422-0.0] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f30-f40-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f31-f41-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f32-f42-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f33-f43-inf] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f34-f44--inf] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f36-f46--0.0] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f37-f47-1.0] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f38-f48--1.0] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f39-f49-3.1416016] - ... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f310-f410-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f311-f411-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f312-f412-1e-19] - As... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f313-f413-inf] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f314-f414-1.0842022e-19] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f315-f415-1.0842021e-19] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f316-f416-5.421011e-20] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f317-f417-3.3087225e-24] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f318-f418-2.1684043e-19] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f320-f420-0.0] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f322-f422-0.0] - Asse... FAILED tests/test_imagecodecs.py::test_float24[decode->-f30-f40-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f31-f41-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f32-f42-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f33-f43-inf] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f34-f44--inf] - asser... FAILED tests/test_imagecodecs.py::test_float24[decode->-f37-f47-1.0] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f38-f48--1.0] - asser... FAILED tests/test_imagecodecs.py::test_float24[decode->-f39-f49-3.1416016] - ... FAILED tests/test_imagecodecs.py::test_float24[decode->-f310-f410-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[decode->-f311-f411-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[decode->-f313-f413-inf] - asse... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f30-f40-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f31-f41-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f32-f42-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f33-f43-inf] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f34-f44--inf] - asser... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f37-f47-1.0] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f38-f48--1.0] - asser... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f39-f49-3.1416016] - ... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f310-f410-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[decode-<-f311-f411-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[decode-<-f313-f413-inf] - asse... FAILED tests/test_imagecodecs.py::test_eer - imagecodecs._imcd.ImcdError: imc... FAILED tests/test_imagecodecs.py::test_eer_superres - imagecodecs._imcd.ImcdE... FAILED tests/test_imagecodecs.py::test_szip_canonical - assert np.False_ FAILED tests/test_imagecodecs.py::test_zstd_stream - assert np.uint32(1638666... FAILED tests/test_imagecodecs.py::test_jpeg12_decode[new] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_jpeg12_decode[out] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_jpeg12_decode[bytearray] - AssertionEr... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-None-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-None-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-True-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-True-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-None-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-None-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-True-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-True-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-None-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-None-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-True-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-True-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-None-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-None-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-True-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-True-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc_files[world.lerc1] - imagecodecs.... FAILED tests/test_imagecodecs.py::test_lerc_files[california_400_400_1_float.lerc2] FAILED tests/test_imagecodecs.py::test_lerc_files[bluemarble_256_256_3_byte.lerc2] FAILED tests/test_imagecodecs.py::test_lerc_files[zstd.lerc2] - imagecodecs._... 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_image_roundtrips[bmp-uint8-rgb-new-new-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-new-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-new--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-out-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-out-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-out--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-bytearray-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-bytearray-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-bytearray--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-new-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-new-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-new--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-out-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-out-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-out--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-bytearray-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-bytearray-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-bytearray--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-new-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-new-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-new--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-out-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-out-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-out--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-bytearray-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-bytearray-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-bytearray--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-new-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-new-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-new--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-out-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-out-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-out--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray--1] FAILED tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u1-False] - ... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f2-<] - AssertionErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f2->] - AssertionErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f4-<] - AssertionErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f4->] - AssertionErr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f2-<] - AssertionEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f2->] - AssertionEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f4-<] - AssertionEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f4->] - AssertionEr... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f2-<] - Asserti... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f2->] - Asserti... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f4-<] - Asserti... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f4->] - Asserti... FAILED tests/test_imagecodecs.py::test_tifffile[jpeg-False-u1-<] - AssertionE... FAILED tests/test_imagecodecs.py::test_tifffile[jpeg-False-u1->] - AssertionE... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-False-u1-<] - imagecodec... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-False-u2-<] - ValueError... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-False-f4-<] - ValueError... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-True-u1-<] - imagecodecs... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-True-u2-<] - ValueError:... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-u1-<] - image... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-u2-<] - Value... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-f4-<] - Value... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-u1-<] - imagec... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-u2-<] - ValueE... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-u1-<] - im... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-u2-<] - Va... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-f4-<] - Va... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u1-<] - ima... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u2-<] - Val... FAILED tests/test_imagecodecs.py::test_numcodecs[float24-gray] - AssertionErr... FAILED tests/test_imagecodecs.py::test_numcodecs[float24-rgb] - AssertionError: FAILED tests/test_imagecodecs.py::test_numcodecs[float24-stack] - AssertionEr... FAILED tests/test_imagecodecs.py::test_numcodecs[lerc-gray] - imagecodecs._le... FAILED tests/test_imagecodecs.py::test_numcodecs[lerc-rgb] - imagecodecs._ler... FAILED tests/test_imagecodecs.py::test_numcodecs[lerc-stack] - imagecodecs._l... = 1851 failed, 3359 passed, 4430 skipped, 373 deselected, 1681 xfailed in 422.03s (0:07:02) = + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-imagecodecs-2024.9.22-1.fc42.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.s7g1qq + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + cd imagecodecs-2024.9.22 + DOCDIR=/builddir/build/BUILD/python-imagecodecs-2024.9.22-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-2024.9.22-build/BUILDROOT/usr/share/doc/python3-imagecodecs + cp -pr /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/README.rst /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/share/doc/python3-imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ftfQ30 + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + cd imagecodecs-2024.9.22 + LICENSEDIR=/builddir/build/BUILD/python-imagecodecs-2024.9.22-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-2024.9.22-build/BUILDROOT/usr/share/licenses/python3-imagecodecs + cp -pr /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/imagecodecs-2024.9.22/LICENSE /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT/usr/share/licenses/python3-imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-imagecodecs = 2024.9.22-1.fc42 python3-imagecodecs = 2024.9.22-1.fc42 python3-imagecodecs(s390-64) = 2024.9.22-1.fc42 python3.13-imagecodecs = 2024.9.22-1.fc42 python3.13dist(imagecodecs) = 2024.9.22 python3dist(imagecodecs) = 2024.9.22 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 libLerc.so.4()(64bit) libaec.so.0()(64bit) libavif.so.16()(64bit) libblosc.so.1()(64bit) libblosc2.so.4()(64bit) libbrotlidec.so.1()(64bit) libbrotlienc.so.1()(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libdeflate.so.0()(64bit) libgif.so.7()(64bit) libheif.so.1()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEGTURBO_6.2)(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libjpegxr.so.0()(64bit) libjxrglue.so.0()(64bit) liblcms2.so.2()(64bit) liblz4.so.1()(64bit) liblzma.so.5()(64bit) liblzma.so.5(XZ_5.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libsnappy.so.1()(64bit) libsz.so.2()(64bit) libtiff.so.6()(64bit) libtiff.so.6(LIBTIFF_4.0)(64bit) libtiff.so.6(LIBTIFF_4.5)(64bit) libwebp.so.7()(64bit) libwebpdemux.so.2()(64bit) libz-ng.so.2()(64bit) libz-ng.so.2(ZLIB_NG_2.0.0)(64bit) libz-ng.so.2(ZLIB_NG_2.1.0)(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) libz.so.1(ZLIB_1.2.9)(64bit) libzfp.so.1()(64bit) libzopfli.so.1()(64bit) libzstd.so.1()(64bit) python(abi) = 3.13 python3.13dist(numpy) rtld(GNU_HASH) Processing files: python-imagecodecs-debugsource-2024.9.22-1.fc42.s390x Provides: python-imagecodecs-debugsource = 2024.9.22-1.fc42 python-imagecodecs-debugsource(s390-64) = 2024.9.22-1.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-2024.9.22-1.fc42.s390x Provides: debuginfo(build-id) = 03cbdc8d77cdd01a9d4121ac1ac969c3107475fd debuginfo(build-id) = 2db69690e3c4cc37b86c5b07851090ed59009baa debuginfo(build-id) = 2f6507910aeb08dd11a8e62621b032d6d501f15d debuginfo(build-id) = 3afa3a0b94b5300da863ffa54de3571e61dcf24c debuginfo(build-id) = 4bbd2b65dc0aa79da8234701f21a758241b154e4 debuginfo(build-id) = 4d2b12f29639c641d48814fd71ab08c86dddf755 debuginfo(build-id) = 4e1bfcdd903fdc1344b004ccd9bada6cdec29f82 debuginfo(build-id) = 5058a5afdd648d3d5e45c0277a79ff4ca7e1d052 debuginfo(build-id) = 540a22d70b1eb524a8ccdedc0c928745cfd92c40 debuginfo(build-id) = 6649b90c2e5b02fd5a83200c7aca76e3c3c7de00 debuginfo(build-id) = 6ac61717723c54a6443bce4fb934f73fad78ea24 debuginfo(build-id) = 7f4795a33a8ed54c83bd6a94d642939f759494d2 debuginfo(build-id) = 9164212b5c35a478852d1497ba13c37a85cad219 debuginfo(build-id) = a14851d9ca841cd05c215a11f940891926480be2 debuginfo(build-id) = a3398cd967d7a24fe8690cf0f8ddec288c1e50d7 debuginfo(build-id) = aa9049ba96efd8b831aec6a8f8d535218550a7e0 debuginfo(build-id) = b9ae64f8f40b0f2d9a26701317bd234c92575589 debuginfo(build-id) = bbb21abef1ac1750faa36d54ee71198b8c8ad938 debuginfo(build-id) = c65e82e13a080141ef186bdde3117b930fe68886 debuginfo(build-id) = c696beb7304cda3ea3b7172ee51ff0be4859d395 debuginfo(build-id) = c9b15052c00e6b153c4abe313ffe75076b9f5fec debuginfo(build-id) = d7f0a090edef712b54b3630953c3f7f69f0862ce debuginfo(build-id) = ea02f19b1d0c95aa824c4553730dcfb575e588bc debuginfo(build-id) = ea90f1fe101ba54a06603ddab2012d47d9346398 debuginfo(build-id) = eccefcc4a8d251913227006ab8a22f654a98c04d debuginfo(build-id) = ecdd6db0df04472bbc5610d1216f928dc9130ce2 debuginfo(build-id) = ef7825cec60c9d201999a5a6e8e6f21a5e352f62 debuginfo(build-id) = f5afd28333d3af63d309875e1d2fbb91b04b8aff python-imagecodecs-debuginfo = 2024.9.22-1.fc42 python3-imagecodecs-debuginfo = 2024.9.22-1.fc42 python3-imagecodecs-debuginfo(s390-64) = 2024.9.22-1.fc42 python3.13-imagecodecs-debuginfo = 2024.9.22-1.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) = 2024.9.22-1.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/python-imagecodecs-2024.9.22-build/BUILDROOT Wrote: /builddir/build/SRPMS/python-imagecodecs-2024.9.22-1.fc42.src.rpm Wrote: /builddir/build/RPMS/python-imagecodecs-debugsource-2024.9.22-1.fc42.s390x.rpm Wrote: /builddir/build/RPMS/python3-imagecodecs-2024.9.22-1.fc42.s390x.rpm Wrote: /builddir/build/RPMS/python3-imagecodecs-debuginfo-2024.9.22-1.fc42.s390x.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.CLHTeT + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + test -d /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + rm -rf /builddir/build/BUILD/python-imagecodecs-2024.9.22-build + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild python-imagecodecs-2024.9.22-1.fc42.src.rpm Finish: build phase for python-imagecodecs-2024.9.22-1.fc42.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-41-s390x-1738534918.517919/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names INFO: Done(/var/lib/copr-rpmbuild/results/python-imagecodecs-2024.9.22-1.fc42.src.rpm) Config(child) 15 minutes 10 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-debugsource", "epoch": null, "version": "2024.9.22", "release": "1.fc42", "arch": "s390x" }, { "name": "python-imagecodecs", "epoch": null, "version": "2024.9.22", "release": "1.fc42", "arch": "src" }, { "name": "python3-imagecodecs-debuginfo", "epoch": null, "version": "2024.9.22", "release": "1.fc42", "arch": "s390x" }, { "name": "python3-imagecodecs", "epoch": null, "version": "2024.9.22", "release": "1.fc42", "arch": "s390x" } ] } RPMResults finished