diff --git a/pyproject.toml b/pyproject.toml index 420bf7ff3..cf38dc56e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,7 +72,10 @@ module = "holidays.groups.*" disable_error_code = "attr-defined" [tool.pytest.ini_options] -addopts = "-p no:warnings" +filterwarnings = [ + "ignore::DeprecationWarning:holidays", + "ignore::DeprecationWarning:xdist", +] [tool.rstcheck] ignore_directives = ["automodule", "autosummary"]