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 tearDown(self):
      # clean up: remove all folders that we created over the course
      # of this test
      if not self.parlai_internal_exists:
          shutil.rmtree("parlai_internal/")
      elif not self.agent_folder_exists:
          shutil.rmtree("parlai_internal/agents/")
      else:
          shutil.rmtree("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 3 for calling the TestLoadParlAIInternal obj's underlying member method code with example usage: obj.tearDown() without return types