code: def test_unsupported_dtype_type(self):
      data = constant_op.constant([True, False])
      bad_dtype = dtypes.uint32
      error_message = (
          "dtype must be one of: .*, was %s" % bad_dtype.name
      )
  
      with self.assertRaisesRegexp(
          errors.InvalidArgumentError, error_message
      ):
          _ = create_feature_bitmask_op.create_feature_bitmask(
              data, dtype=bad_dtype
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import array_ops_stack
  from tensorflow.python.platform import test
  from tensorflow_text.python.ops import create_feature_bitmask_op
label_desc: Use image node_id 10 for calling the CreateFeatureBitmaskOpTest obj's underlying member method code with example usage: obj.test_unsupported_dtype_type() without return types