code: def test_bool_array(self, dtype, encoding: features_lib.Encoding):
      self.assertFeature(
          feature=features_lib.Tensor(
              shape=(3,),
              dtype=dtype,
              encoding=encoding,
          ),
          dtype=np.bool_,
          shape=(3,),
          tests=[
              testing.FeatureExpectationItem(
                  value=np.array([True, True, False]),
                  expected=[True, True, False],
                  expected_np=[True, True, False],
              ),
              testing.FeatureExpectationItem(
                  value=[True, False, True],
                  expected=[True, False, True],
                  expected_np=[True, False, True],
              ),
          ],
      )
  
imports: from absl.testing import parameterized
  import jax.numpy
  import numpy
  import pytest
  import tensorflow
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import features
label_desc: Use image node_id 7 for calling the FeatureTensorTest obj's underlying member method code with example usage: obj.test_bool_array(dtype, encoding) without return types