From: Debian Science Team Date: Sun, 21 Apr 2024 12:50:13 +0000 (+0100) Subject: Allow blosc2 to report the type used X-Git-Tag: archive/raspbian/2.2.3+dfsg-7+rpi1~1^2^2^2^2^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=60dfa853f18b7eec892789bf1287f9943f8792c6;p=pandas.git Allow blosc2 to report the type used e.g. the bug had blosc2:blosclz Author: Rebecca N. Palmer Bug-Debian: https://bugs.debian.org/1061043 Forwarded: no - upstream 55524 xfailed some but not all cases Gbp-Pq: Name test_complibs_blosc2.patch --- diff --git a/pandas/tests/io/pytables/test_file_handling.py b/pandas/tests/io/pytables/test_file_handling.py index e9d95cc3..732aeec6 100644 --- a/pandas/tests/io/pytables/test_file_handling.py +++ b/pandas/tests/io/pytables/test_file_handling.py @@ -268,7 +268,7 @@ def test_complibs(tmp_path, lvl, lib): if lvl == 0: assert node.filters.complib is None else: - assert node.filters.complib == lib + assert ((node.filters.complib == lib) or (lib=='blosc2' and node.filters.complib.startswith('blosc2:'))) @pytest.mark.xfail(condition=is_crashing_arch,reason="https://bugs.debian.org/790925",strict=False,run=False)