class_docstr: Mixin to provide easy access to temp dir
class_docstr_tok: ["Mixin","to","provide","easy","access","to","temp","dir"]
code: def tearDownClass(cls):
      if cls.temp_dir_ is not None:
          try:
              cls.temp_dir_.cleanup()
              cls.temp_dir_ = None
          except PermissionError:
              # On Windows there is a know issue with `shutil.rmtree`,
              # which fails intermittenly.
              #
              # https://github.com/python/cpython/issues/74168
              #
              # We observed this on CircleCI, where Windows job raises
              # PermissionError.
              #
              # Following the above thread, we ignore it.
              pass
      super().tearDownClass()
  
imports: import functools
  import os.path
  import shutil
  import subprocess
  import sys
  import tempfile
  import time
  import unittest
  from itertools import zip_longest
  import torch
  import torchaudio
  import torio
  from torch.testing._internal.common_utils import TestCase
  from torchaudio._internal.module_utils import eval_env, is_module_available
  from torchaudio.utils.ffmpeg_utils import get_video_decoders, get_video_encoders
label_desc: Use image node_id 2 for calling the TempDirMixin obj's underlying member method code with example usage: obj.tearDownClass(cls) without return types