Fix test ExamplesTests::test_run_translation (#30281)

fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2024-04-17 11:46:33 +02:00
committed by GitHub
parent 304c6a1e0d
commit 05dab4e5ba

View File

@@ -372,6 +372,7 @@ class ExamplesTests(TestCasePlus):
--predict_with_generate
--source_lang en_XX
--target_lang ro_RO
--max_source_length 512
""".split()
with patch.object(sys, "argv", testargs):