Skip to content

Commit

Permalink
Re-enable raising error from huggingface-hub FutureWarning in CI (#7011)
Browse files Browse the repository at this point in the history
Re-enable raising error from huggingface-hub FutureWarning in tests
  • Loading branch information
albertvillanova authored Jun 28, 2024
1 parent 5cab892 commit 054e57a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 054e57a

Please sign in to comment.