code: def test_parse_path():
      pathlib = pytest.importorskip("pathlib")
      assert isinstance(
          _parse_path(pathlib.Path("/foo/bar.tif")), _ParsedPath
      )
  
imports: import sys
  import pytest
  import rasterio
  from rasterio.errors import PathError
  from rasterio._path import _parse_path, _vsi_path, _ParsedPath, _UnparsedPath
label_desc: Use image node_id 34 for calling a global function with example usage: test_parse_path() without return types