diff --git a/onmt/tests/test_inference_engines.py b/onmt/tests/test_inference_engines.py index b30bb8ee80..c83125ee68 100644 --- a/onmt/tests/test_inference_engines.py +++ b/onmt/tests/test_inference_engines.py @@ -9,7 +9,6 @@ def _get_parser(): parser = ArgumentParser(description="simple_inference_engine_py.py") opts.config_opts(parser) opts.translate_opts(parser, dynamic=True) - opts.model_opts(parser) return parser