code: def test_deserialization_metadata(self):
      with safe_open(self.local, framework="pt") as f:
          metadata = f.metadata()
      self.assertEqual(metadata, None)
  
      # Save another one *with* metadata
      tensor = torch.arange(6, dtype=torch.float32).reshape((1, 2, 3))
      data = {"test": tensor}
      local = "./tests/data/out_safe_pt_mmap2.safetensors"
      # Need to copy since that call mutates the tensors to numpy
      save_file(data, local, metadata={"Something": "more"})
      with safe_open(local, framework="pt") as f:
          metadata = f.metadata()
      self.assertEqual(metadata, {"Something": "more"})
  
imports: import sys
  import unittest
  import torch
  from safetensors import safe_open
  from safetensors.torch import load, load_file, save, save_file
label_desc: Use image node_id 5 for calling the SliceTestCase obj's underlying member method code with example usage: obj.test_deserialization_metadata() without return types