Skip to content

Commit f9cd7b0

Browse files
Debian Science Teamraspbian-autopush
Debian Science Team
authored andcommitted
Allow blosc2 to report the type used
e.g. the bug had blosc2:blosclz Author: Rebecca N. Palmer <[email protected]> Bug-Debian: https://bugs.debian.org/1061043 Forwarded: no - upstream 55524 xfailed some but not all cases Gbp-Pq: Name test_complibs_blosc2.patch
1 parent 721e9f5 commit f9cd7b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/pytables/test_file_handling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def test_complibs(tmp_path, lvl, lib):
268268
if lvl == 0:
269269
assert node.filters.complib is None
270270
else:
271-
assert node.filters.complib == lib
271+
assert ((node.filters.complib == lib) or (lib=='blosc2' and node.filters.complib.startswith('blosc2:')))
272272

273273

274274
@pytest.mark.xfail(condition=is_crashing_arch,reason="https://bugs.debian.org/790925",strict=False,run=False)

0 commit comments

Comments
 (0)