class_docstr: Base for geocoder-specific test cases.
class_docstr_tok: ["Base","for","geocoder-specific","test","cases","."]
code: def _verify_request(
      self,
      result,
      latitude=ANY,
      longitude=ANY,
      address=ANY,
      exactly_one=True,
      delta=None,
  ):
      if exactly_one:
          assert isinstance(result, Location)
      else:
          assert isinstance(result, list)
  
      item = result if exactly_one else result[0]
      delta = delta or self.delta
  
      expected = (
          pytest.approx(latitude, abs=delta)
          if latitude is not ANY
          else ANY,
          pytest.approx(longitude, abs=delta)
          if longitude is not ANY
          else ANY,
          address,
      )
      received = (
          item.latitude,
          item.longitude,
          item.address,
      )
      assert received == expected
  
file_path: geopy/test/geocoders/util.py
imports: import contextlib
  import json
  import os
  from abc import ABC, abstractmethod
  from unittest.mock import ANY, patch
  import pytest
  from geopy import exc
  from geopy.adapters import BaseAsyncAdapter
  from geopy.location import Location
label_desc: Use image node_id 3 for calling the BaseTestGeocoder obj's underlying member method code with example usage: obj._verify_request(result, latitude, longitude, address, exactly_one, delta) without return types