code: def tearDown(self) -> None:
      shutil.rmtree(self.temp_dir, ignore_errors=True)
  
file_path: headliner/tests/callbacks/test_model_checkpointing_callback.py
imports: import shutil
  import tempfile
  import unittest
  import os
  from unittest.mock import Mock, call
  from headliner.callbacks.model_checkpoint_callback import ModelCheckpointCallback
label_desc: Use image node_id 2 for calling the TestModelCheckpointCallback obj's underlying member method code with example usage: obj.tearDown() without return types