code: def test_bad_provider_forward():
      from geopy.exc import GeocoderNotFound
  
      with pytest.raises(GeocoderNotFound):
          geocode(["cambridge, ma"], "badprovider")
  
imports: import pandas
  from shapely.geometry import Point
  from geopandas import GeoDataFrame, GeoSeries
  from geopandas.tools import geocode, reverse_geocode
  from geopandas.tools.geocoding import _prepare_geocode_result
  from geopandas.tests.util import assert_geoseries_equal, mock
  from pandas.testing import assert_series_equal
  from geopandas.testing import assert_geodataframe_equal
  import pytest
label_desc: Use image node_id 6 for calling a global function with example usage: test_bad_provider_forward() without return types