From 64f11fb8bc049a5d60077e55f462f60d452ceb9e Mon Sep 17 00:00:00 2001 From: Henrik Finsberg Date: Fri, 16 Jan 2026 15:10:07 +0100 Subject: [PATCH] Skip tests for xdmf if HDF version is 2.0 --- tests/test_xdmf.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_xdmf.py b/tests/test_xdmf.py index 504f143..d845454 100644 --- a/tests/test_xdmf.py +++ b/tests/test_xdmf.py @@ -18,6 +18,12 @@ hash5py = False +if h5py.h5.HDF5_VERSION_COMPILED_AGAINST == (2, 0, 0): + pytest.skip( + "h5py and adios2 built against HDF5 2.0.0 does not work properly", allow_module_level=True + ) + + stype = PETSc.ScalarType rtype = PETSc.RealType _dolfinx_version = Version(dolfinx.__version__)