code: def tearDown(self) -> None:
      shutil.rmtree(self.dataset_dir)
      pattern = "(.*)?.ckpt$"
      for root, dirs, files in os.walk(os.getcwd()):
          for file in filter(lambda x: re.match(pattern, x), files):
              os.remove(os.path.join(root, file))
  
file_path: lightly/tests/core/test_Core.py
imports: import os
  import re
  import shutil
  import tempfile
  import unittest
  import numpy
  import pytest
  import torchvision
  from lightly.core import train_model_and_embed_images
label_desc: Use image node_id 4 for calling the TestCore obj's underlying member method code with example usage: obj.tearDown() without return types