code: def test_transparent_lift_closed_over_errors(self):
      @transform.transform
      def fn(x):
          outer_defined = Bias(name="inner")
  
          def inner_fn(x):
              # transparent_lift closes over outer_defined
              x = outer_defined(x)
              return Bias(name="inner")(x)
  
          return with_transparent_lift(inner_fn)(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 20 for calling the LiftTest obj's underlying member method code with example usage: obj.test_transparent_lift_closed_over_errors() and returns: with_transparent_lift, Bias