class_docstr: Test RDKitDescriptors.
docstr: Test with use_fragment
code: def test_rdkit_descriptors_with_use_fragment(self):
      """
      Test with use_fragment
      """
      featurizer = RDKitDescriptors(use_fragment=False)
      descriptors = featurizer(self.smiles)
      assert descriptors.shape == (1, len(featurizer.reqd_properties))
      assert len(featurizer.reqd_properties) < self.all_desc_count
      exact_mol_wt_index = list(featurizer.reqd_properties).index(
          "ExactMolWt"
      )
      assert np.allclose(
          descriptors[0, exact_mol_wt_index], 180, atol=0.1
      )
  
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 3 for calling the TestRDKitDescriptors obj's underlying member method code with example usage: obj.test_rdkit_descriptors_with_use_fragment() without return types