code: def test_unknown_template():
      with pytest.raises(jinja2.TemplateNotFound) as e:
          get_template("does_not_exist.html.j2")
  
          # The error should contain all the registered template directories to help the user
          # understand where jinja2 is looking. Including the one we registered in the fixture.
          assert os.path.dirname(os.path.abspath(__file__)) in str(e)
  
file_path: dask/dask/widgets/tests/test_widgets.py
imports: from __future__ import annotations
  import os.path
  import pytest
  from dask.utils import format_bytes
  from dask.widgets import FILTERS, TEMPLATE_PATHS, get_environment, get_template
label_desc: Use image node_id 4 for calling a global function with example usage: test_unknown_template() without return types