class_docstr: Test base class with writing a fake file.
class_docstr_tok: ["Test","base","class","with","writing","a","fake","file","."]
docstr: Tear down the test case.
code: def tearDown(self) -> None:
      """Tear down the test case."""
      with suppress(OSError):
          os.remove(self.filename)
  
imports: import os
  import unittest
  from contextlib import suppress
  from tempfile import NamedTemporaryFile
  from unittest import mock
  import numpy
  import xarray
  from satpy.readers.hrpt import HRPTFile, dtype
  from satpy.tests.reader_tests.test_avhrr_l1b_gaclac import PygacPatcher
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 2 for calling the TestHRPTWithFile obj's underlying member method code with example usage: obj.tearDown() without return types