Skip to content

Commit 054e57a

Browse files
Re-enable raising error from huggingface-hub FutureWarning in CI (#7011)
Re-enable raising error from huggingface-hub FutureWarning in tests
1 parent 5cab892 commit 054e57a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ known-first-party = ["datasets"]
1818

1919
[tool.pytest.ini_options]
2020
# Test fails if a FutureWarning is thrown by `huggingface_hub`
21-
# Temporarily disabled because transformers 4.41.1 calls deprecated code from `huggingface_hub` that causes FutureWarning
22-
# filterwarnings = [
23-
# "error::FutureWarning:huggingface_hub*",
24-
# ]
21+
filterwarnings = [
22+
"error::FutureWarning:huggingface_hub*",
23+
]
2524
markers = [
2625
"unit: unit test",
2726
"integration: integration test",

0 commit comments

Comments
 (0)