code: def test_save_compressed_npy():
      uncompressed_path = "./tests/fixtures/generated_outputs/array.npy"
      _remove(uncompressed_path)
      save(array2, uncompressed_path)
      compressed_path = (
          "./tests/fixtures/generated_outputs/array.npy.xz"
      )
      _remove(compressed_path)
      save(array2, compressed_path)
      assert os.path.isfile(uncompressed_path)
      assert os.path.isfile(compressed_path)
      re_read_array = load(compressed_path)
      assert np.array_equal(array2, re_read_array)
      uncompressed_size = os.path.getsize(uncompressed_path)
      compressed_size = os.path.getsize(compressed_path)
      assert compressed_size < uncompressed_size
  
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 11 for calling a global function with example usage: test_save_compressed_npy() without return types