code: def test_format_filtered_stacktrace_true():
      ex = Experiment("exp")
  
      @ex.capture
      def f():
          raise Exception()
  
      try:
          f()
      except Exception:
          st = format_filtered_stacktrace(filter_traceback="default")
          assert "captured_function" not in st
          assert "WITHOUT Sacred internals" in st
  
      try:
          f()
      except Exception:
          st = format_filtered_stacktrace(filter_traceback="always")
          assert "captured_function" not in st
          assert "WITHOUT Sacred internals" in st
  
file_path: sacred/tests/test_exceptions.py
imports: import re
  from sacred import Ingredient, Experiment
  from sacred.utils import CircularDependencyError, ConfigAddedError, MissingConfigError, NamedConfigNotFoundError, format_filtered_stacktrace, format_sacred_error, SacredError
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_format_filtered_stacktrace_true() without return types