code: def testGroverBondVocabTokenizer():
      from deepchem.feat.vocabulary_builders.grover_vocab import (
          GroverBondVocabularyBuilder,
          GroverBondVocabTokenizer,
      )
  
      file = tempfile.NamedTemporaryFile()
      dataset = dc.data.NumpyDataset(X=[["CC(=O)C"], ["CCC"]])
      vocab = GroverBondVocabularyBuilder()
      vocab.build(dataset)
      vocab.save(file.name)  # build and save the vocabulary
  
      # load the vocabulary by passing the filename
      bond_tokenizer = GroverBondVocabTokenizer(file.name)
      mol = Chem.MolFromSmiles("CC(=O)C")
      # test tokenization of a single point
      bond_tokenizer.featurize([(mol, mol.GetBondWithIdx(0))])[0] == 2
  
file_path: deepchem/deepchem/feat/vocabulary_builders/tests/test_grover_vocab.py
imports: import tempfile
  import os
  import pandas
  from rdkit import Chem
  import deepchem
label_desc: Use image node_id 6 for calling a global function with example usage: testGroverBondVocabTokenizer() without return types