code: def test_compile_api_passes_config(self):
      # ensure configs are actually passed down to inductor
      self.assertRaises(
          torch._dynamo.exc.BackendCompilerFailed,
          lambda: torch.compile(
              dummy_fn, options={"_raise_error_for_testing": True}
          )(torch.randn(10)),
      )
  
imports: import math
  import unittest
  import torch
  from torch._dynamo.test_case import run_tests, TestCase
  from torch._inductor import config
  from torch.testing._internal.inductor_utils import HAS_CPU
label_desc: Use image node_id 10 for calling the TestInductorConfig obj's underlying member method code with example usage: obj.test_compile_api_passes_config() without return types