code: def test_external_path_bad() -> None:
      pat = "Could not locate external data file (.*)junkjunk. Please execute bokeh.sampledata.download()"
      with pytest.raises(RuntimeError, match=pat):
          bus.external_path("junkjunk")
  
file_path: bokeh/tests/unit/bokeh/util/test_sampledata__util.py
imports: from __future__ import annotations
  import pytest
  from unittest.mock import call, patch
  import bokeh.util.sampledata
label_desc: Use image node_id 1 for calling a global function with example usage: test_external_path_bad() without return types