diff --git a/pyproject.toml b/pyproject.toml index 53328fa65cc..511a9e0d744 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,10 +18,9 @@ known-first-party = ["datasets"] [tool.pytest.ini_options] # Test fails if a FutureWarning is thrown by `huggingface_hub` -# Temporarily disabled because transformers 4.41.1 calls deprecated code from `huggingface_hub` that causes FutureWarning -# filterwarnings = [ -# "error::FutureWarning:huggingface_hub*", -# ] +filterwarnings = [ + "error::FutureWarning:huggingface_hub*", +] markers = [ "unit: unit test", "integration: integration test",