code: def test_capture_function(ing):
      @ing.capture
      def foo(something):
          pass
  
      assert foo in ing.captured_functions
      assert foo.prefix is None
  
imports: import os
  import pytest
  import tempfile
  from sacred.config import ConfigScope, ConfigDict
  from sacred.dependencies import Source, PackageDependency
  from sacred.experiment import Experiment
  from sacred.ingredient import Ingredient
  from sacred.utils import CircularDependencyError
  from sacred.serializer import json
label_desc: Use image node_id 3 for calling a global function with example usage: test_capture_function(ing) without return types