code: def test_file_not_found(self):
      with self.assertRaises(FileNotFoundError) as ctx:
          with safe_open("notafile", framework="pt"):
              pass
      self.assertEqual(
          str(ctx.exception), 'No such file or directory: "notafile"'
      )
  
imports: import os
  import tempfile
  import unittest
  from pathlib import Path
  import numpy
  import torch
  from safetensors import SafetensorError, safe_open, serialize
  from safetensors.numpy import load, load_file, save, save_file
  from safetensors.torch import _find_shared_tensors
  from safetensors.torch import load_file
  from safetensors.torch import save_file
  from safetensors.torch import storage_ptr, storage_size
label_desc: Use image node_id 1 for calling the ErrorsTestCase obj's underlying member method code with example usage: obj.test_file_not_found() without return types