code: def test_capturing_saves():
      path = (
          "./tests/fixtures/generated_outputs/test_capturing_saves.txt"
      )
      _remove(path)
      context = CaptureSaveContext()
  
      with context, io_scope("./tests/fixtures/generated_outputs"):
          save("test", "test_capturing_saves.txt")
  
      captured = context.captured_saves
      assert len(captured) == 1
      assert "type" in captured[0]
      assert captured[0]["type"] == "txt"
  
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 17 for calling a global function with example usage: test_capturing_saves() without return types