diff --git a/pyproject.toml b/pyproject.toml index 9dbac6a..80e3004 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,4 +84,4 @@ ignore = "D100,D102,D104,D105,D106,D107,D203,D204,D213,D413" [tool.pytest.ini_options] doctest_optionflags = "NORMALIZE_WHITESPACE NUMBER" addopts = " --cov=opera_utils --doctest-modules --randomly-seed=1234 --ignore=scripts --ignore=docs" -filterwarnings = ["ignore::UserWarning:h5py is running against HDF5.*", "error"] +filterwarnings = ["error", "ignore:h5py is running against HDF5.*:UserWarning"]