code: def test_import_optional_dependency_invalid(bad_import):
      with pytest.raises(ValueError, match="Invalid module name"):
          import_optional_dependency(bad_import)
  
imports: import pytest
  from geopandas._compat import import_optional_dependency
label_desc: Use image node_id 3 for calling a global function with example usage: test_import_optional_dependency_invalid(bad_import) without return types