Skip to content

Commit

Permalink
Fix test ExamplesTests::test_run_translation (huggingface#30281)
Browse files Browse the repository at this point in the history
fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
  • Loading branch information
2 people authored and zucchini-nlp committed Apr 18, 2024
1 parent 467825d commit 0e4320d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/pytorch/test_pytorch_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ def test_run_translation(self):
--predict_with_generate
--source_lang en_XX
--target_lang ro_RO
--max_source_length 512
""".split()

with patch.object(sys, "argv", testargs):
Expand Down

0 comments on commit 0e4320d

Please sign in to comment.