class_docstr: Basic tests on the eval_model.py example.
class_docstr_tok: ["Basic","tests","on","the","eval_model.py","example","."]
docstr: Eval_model with -dt train:evalmode should be okay.
docstr_tok: ["Eval_model","with","-dt","train",":","evalmode","should","be","okay","."]
code: def test_evalmode(self):
      """
      Eval_model with -dt train:evalmode should be okay.
      """
      testing_utils.eval_model(
          {"task": "integration_tests", "model": "repeat_label"},
          valid_datatype="train:evalmode",
      )
  
file_path: ParlAI/tests/test_eval_model.py
imports: import os
  from parlai.utils.io import PathManager
  import pytest
  import unittest
  import parlai.utils.testing
  from parlai.scripts.eval_model import get_task_world_logs
label_desc: Use image node_id 2 for calling the TestEvalModel obj's underlying member method code with example usage: obj.test_evalmode() without return types