Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
AnesBenmerzoug committed Nov 3, 2024
1 parent aac0bfa commit ed38ebb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/embeddings/test_embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from langsfer.embeddings import FastTextEmbeddings


@pytest.mark.parametrize("language_id", ["en", pytest.param("123", marks=pytest.mark.xfail)])
@pytest.mark.parametrize(
"language_id", ["en", pytest.param("123", marks=pytest.mark.xfail)]
)
def test_fasttext_from_language_id(language_id: str):
FastTextEmbeddings.from_model_name_or_path(language_id)

0 comments on commit ed38ebb

Please sign in to comment.