code: def test_open_bad_path():
      with pytest.raises(TypeError):
          rasterio.open(3.14)
  
file_path: rasterio/tests/test_open.py
imports: import pytest
  import rasterio
  from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: test_open_bad_path() without return types