class_docstr: Make sure we can load an agent from internal.
class_docstr_tok: ["Make","sure","we","can","load","an","agent","from","internal","."]
code: def setUp(self):
      # create a parlai_internal folder if it does not exist
      self.parlai_internal_exists = os.path.exists("parlai_internal")
      if not self.parlai_internal_exists:
          os.mkdir("parlai_internal")
  
      self.agent_folder_exists = os.path.exists(
          "parlai_internal/agents"
      )
      if not self.agent_folder_exists:
          os.mkdir("parlai_internal/agents")
  
      # copy over the example agent from example_parlai_internal
      shutil.copytree(
          "example_parlai_internal/agents/parrot",
          "parlai_internal/agents/parrot",
      )
  
imports: import os
  import shutil
  import unittest
  import pytest
  from parlai.agents.repeat_label.repeat_label import RepeatLabelAgent
  import parlai.tasks.convai2.agents
  from parlai.tasks.convai2.worlds import InteractiveWorld, SelfChatWorld
  from parlai.core.loader import load_agent_module, load_task_module, load_teacher_module, load_world_module
  from parlai.core.worlds import DialogPartnerWorld
  import parlai.utils.testing
label_desc: Use image node_id 1 for calling the TestLoadParlAIInternal obj's underlying member method code with example usage: obj.setUp() without return types