code: def testCudaArrayInterfaceBfloat16Fails(self):
      rng = jtu.rand_default(self.rng())
      x = rng((2, 2), jnp.bfloat16)
      y = jnp.array(x)
      with self.assertRaisesRegex(
          AttributeError, ".*not supported for BF16.*"
      ):
          _ = y.__cuda_array_interface__
  
imports: import unittest
  from absl.testing import absltest
  import jax
  import jax.dlpack
  import jax.numpy
  from jax._src import config
  from jax._src import test_util
  from jax._src import xla_bridge
  from jax._src.lib import xla_extension_version
  import numpy
label_desc: Use image node_id 3 for calling the CudaArrayInterfaceTest obj's underlying member method code with example usage: obj.testCudaArrayInterfaceBfloat16Fails() without return types