code: def test_translate_unknown_vocab():
      with pytest.raises(KeyError):
          utils.translate("test", "unknown_vocab")
  
file_path: doctr/tests/common/test_datasets_utils.py
imports: import numpy
  import pytest
  from doctr.datasets import utils
label_desc: Use image node_id 2 for calling a global function with example usage: test_translate_unknown_vocab() without return types