code: def test_lax_custom_linear_solve(self, filter_mode):
      def err(*_):
          assert False
          return ()
  
      matvec = lambda v: v
      solve = lambda mv, b: 1.0
      b = 1.0
  
      def f1():
          return lax.custom_linear_solve(err, b, solve)
  
      def f2():
          return lax.custom_linear_solve(matvec, b, err)
  
      check_filtered_stack_trace(
          self,
          AssertionError,
          f1,
          [
              ("f1", "return lax.custom_linear_solve(err, b, solve)"),
              ("err", "assert False"),
          ],
          filter_mode=filter_mode,
      )
      check_filtered_stack_trace(
          self,
          AssertionError,
          f2,
          [
              ("f2", "return lax.custom_linear_solve(matvec, b, err)"),
              ("err", "assert False"),
          ],
          filter_mode=filter_mode,
      )
  
imports: import re
  import sys
  import traceback
  from absl.testing import absltest
  from absl.testing import parameterized
  import jax
  import jax.numpy
  from jax import grad, jit, vmap, lax
  from jax._src import config
  from jax._src import core
  from jax._src import source_info_util
  from jax._src import test_util
  from jax._src import traceback_util
label_desc: Use image node_id 11 for calling the FilteredTracebackTest obj's underlying member method code with example usage: obj.test_lax_custom_linear_solve(filter_mode) and returns: , lax, lax