code: def test_package_dir() -> None:
      path = bus.package_dir()
      assert path.exists()
      assert path.parts[-2:] == ("sampledata", "_data")
  
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 2 for calling a global function with example usage: test_package_dir() without return types