From 60dfa853f18b7eec892789bf1287f9943f8792c6 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Sun, 21 Apr 2024 13:50:13 +0100 Subject: [PATCH] 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 --- pandas/tests/io/pytables/test_file_handling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2