[PATCH] test_compression_diskfile_kwargs: support both RICE_ONE and RICE_1 (#491)
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 3 May 2026 01:45:10 +0000 (03:45 +0200)
committerAurelien Jarno <aurel32@debian.org>
Sun, 10 May 2026 14:22:37 +0000 (16:22 +0200)
commit41c54dc9206c5f6e6de150a8ae55b03cd8809de0
treec84de34bedc549a9a42a65299669d7abb86f284b
parente9a8e8d4ca060bf87fdaf3f2c14bdcec54195b41
[PATCH] test_compression_diskfile_kwargs: support both RICE_ONE and RICE_1 (#491)

Starting with CFITSIO 4.6.4, commit 7d854ef29a4c ("Stop writing RICE_ONE
as an alias for RICE_1."), the ZCMPTYPE header returns RICE_1 instead of
RICE_ONE, breaking the test_compression_diskfile_kwargs test. Update it
to accept both values to maintain compatibility across CFITSIO versions.

Gbp-Pq: Name test_compression_diskfile_kwargs-support-both-RICE_O.patch
fitsio/tests/test_image_compression_defaults.py