Skip to content

Commit

Permalink
Add require_torch to 2 pipeline tests (#20585)
Browse files Browse the repository at this point in the history
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
  • Loading branch information
ydshieh and ydshieh committed Dec 5, 2022
1 parent e7e6d18 commit cc8aec6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/pipelines/test_pipelines_table_question_answering.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ def test_slow_tokenizer_sqa_tf(self):
)

@slow
@require_torch
def test_integration_wtq_pt(self):
table_querier = pipeline("table-question-answering")

Expand Down Expand Up @@ -574,6 +575,7 @@ def test_integration_wtq_tf(self):
self.assertListEqual(results, expected_results)

@slow
@require_torch
def test_integration_sqa_pt(self):
table_querier = pipeline(
"table-question-answering",
Expand Down

0 comments on commit cc8aec6

Please sign in to comment.