code: def test_save_load_pickle():
      path = "./tests/fixtures/generated_outputs/some_data.pickle"
      data = {"test": [1, 2, 3, "some string"], "numpy_values": array2}
      _remove(path)
      with io.open(path, "wb") as handle:
          with pytest.raises(ValueError):
              save(data, handle)
          save(data, handle, allow_unsafe_formats=True)
      assert os.path.isfile(path)
      with pytest.raises(ValueError):
          loaded_data = load(path)
      loaded_data = load(path, allow_unsafe_formats=True)
      assert loaded_data["test"] == data["test"]
      assert np.array_equal(
          loaded_data["numpy_values"], data["numpy_values"]
      )
  
imports: import time
  import pytest
  import numpy
  from lucid.misc.io.saving import save, CaptureSaveContext, batch_save
  from lucid.misc.io.loading import load
  from lucid.misc.io.scoping import io_scope, current_io_scopes
  from concurrent.futures import ThreadPoolExecutor
  import os.path
  import io
  import tensorflow
label_desc: Use image node_id 12 for calling a global function with example usage: test_save_load_pickle() without return types