Fix test ExamplesTests::test_run_translation (#30281)
fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -372,6 +372,7 @@ class ExamplesTests(TestCasePlus):
|
|||||||
--predict_with_generate
|
--predict_with_generate
|
||||||
--source_lang en_XX
|
--source_lang en_XX
|
||||||
--target_lang ro_RO
|
--target_lang ro_RO
|
||||||
|
--max_source_length 512
|
||||||
""".split()
|
""".split()
|
||||||
|
|
||||||
with patch.object(sys, "argv", testargs):
|
with patch.object(sys, "argv", testargs):
|
||||||
|
|||||||
Reference in New Issue
Block a user