code: def test_transparent_lift_closed_over_nested_errors(self):
      class OuterModule(module.Module):
          def __call__(self, x):
              outer_defined = Bias(name="inner")
  
              def inner_fn(x):
                  # transparent_lift closes over outer_defined nested in another module.
                  x = outer_defined(x)
                  return Bias(name="inner")(x)
  
              return with_transparent_lift(inner_fn)(x)
  
      @transform.transform
      def fn(x):
          return OuterModule(name="outer")(x)
  
      with self.assertRaisesRegex(
          ValueError, "close over a module.*transparent_lift"
      ):
          fn.init(None, jnp.ones((10, 10)))
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from haiku._src import base
  from haiku._src import config
  from haiku._src import lift
  from haiku._src import module
  from haiku._src import multi_transform
  from haiku._src import stateful
  from haiku._src import test_utils
  from haiku._src import transform
  import jax
  import jax.numpy
  import numpy
label_desc: Use image node_id 21 for calling the LiftTest obj's underlying member method code with example usage: obj.test_transparent_lift_closed_over_nested_errors() and returns: OuterModule, with_transparent_lift, Bias