code: def test_correct_bert_base_vocab_hash(datadir, tmpdir):
      # The vocabulary is drawn from bert-base-cased
      vocab_path = os.path.join(datadir, "vocab.txt")
  
      groundtruth_path = os.path.join(datadir, "vocab-hash.txt")
      output_path = tmpdir.join("cudf-vocab-hash.txt")
      with warnings.catch_warnings():
          # See https://github.com/rapidsai/cudf/issues/12403
          warnings.simplefilter(
              action="ignore", category=RuntimeWarning
          )
          hash_vocab(vocab_path, output_path)
  
      assert filecmp.cmp(output_path, groundtruth_path, shallow=False)
  
imports: import filecmp
  import os
  import warnings
  import pytest
  from cudf.utils.hash_vocab_utils import hash_vocab
label_desc: Use image node_id 2 for calling a global function with example usage: test_correct_bert_base_vocab_hash(datadir, tmpdir) without return types