Use nonstrict xfail
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Mon, 21 Oct 2024 18:43:11 +0000 (19:43 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Mon, 21 Oct 2024 18:43:11 +0000 (19:43 +0100)
Upstream strict-xfailed this instead of changing the expected message,
which doesn't work here because it only fails in build, not autopkgtest

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name blosc_nonstrict_xfail.patch

pandas/tests/io/pytables/test_file_handling.py

index 9acb65c922ddf016d0748789e5067663795a907c..2558e440e94b8571dfd5a37a43bf5b58b15c3a24 100644 (file)
@@ -270,7 +270,7 @@ def test_complibs(tmp_path, lvl, lib, request):
     # GH14478
     if PY311 and is_platform_linux() and lib == "blosc2" and lvl != 0:
         request.applymarker(
-            pytest.mark.xfail(reason=f"Fails for {lib} on Linux and PY > 3.11")
+            pytest.mark.xfail(reason=f"Fails for {lib} on Linux and PY > 3.11", strict=False)
         )
     df = DataFrame(
         np.ones((30, 4)), columns=list("ABCD"), index=np.arange(30).astype(np.str_)