Skip to content

Commit

Permalink
chore(ci): fix the unit test of transformers (bentoml#3003)
Browse files Browse the repository at this point in the history
the check_task now returns three values
  • Loading branch information
bojiang authored and sauyon committed Sep 16, 2022
1 parent 7732ad9 commit cbed3b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/frameworks/test_transformers_unit.py
Expand Up @@ -38,7 +38,7 @@ def test_convert_to_auto_class():


alias = "sentiment-analysis"
original_task, _ = check_task(alias) # type: ignore (unfinished transformers type)
original_task, *_ = check_task(alias) # type: ignore (unfinished transformers type)
sentiment = pipeline(alias, model="hf-internal-testing/tiny-random-distilbert")


Expand Down

0 comments on commit cbed3b0

Please sign in to comment.