class_docstr: Test RDKitDescriptors.
code: def test_with_labels_only(self):
      descriptors = ["fr_Al_COO", "fr_Al_OH", "fr_allylic_oxid"]
      smiles = "CC(C)=CCCC(C)=CC(=O)"
      featurizer = RDKitDescriptors(
          descriptors=descriptors, labels_only=True
      )
      features = featurizer.featurize(smiles)[0]
      assert len(features) == len(descriptors)
      assert (features == [0, 0, 1]).all()
  
file_path: deepchem/deepchem/feat/tests/test_rdkit_descriptors.py
imports: import numpy
  import unittest
  from deepchem.feat import RDKitDescriptors
label_desc: Use image node_id 7 for calling the TestRDKitDescriptors obj's underlying member method code with example usage: obj.test_with_labels_only() without return types