code: def make_geocoder(cls, **kwargs):
      kwargs.setdefault("user_agent", "geopy-test")
      return Nominatim(**kwargs)
  
file_path: geopy/test/geocoders/nominatim.py
imports: import warnings
  from unittest.mock import patch
  import pytest
  import geopy.geocoders
  from geopy.exc import ConfigurationError
  from geopy.geocoders import Nominatim
  from geopy.point import Point
  from test.geocoders.util import BaseTestGeocoder
label_desc: Use image node_id 1 for calling the TestNominatim obj's underlying member method code with example usage: obj.make_geocoder(cls) and returns: Nominatim