Skip to content

Commit

Permalink
Re-enable raising error from huggingface-hub FutureWarning in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
albertvillanova committed Jun 28, 2024
1 parent a16477d commit 5f364ef
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 5f364ef

Please sign in to comment.