Skip to content

Commit

Permalink
Add googlev3 shim module
Browse files Browse the repository at this point in the history
  • Loading branch information
KostyaEsmukov committed Apr 10, 2021
1 parent 422957d commit 7f27d0a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions geopy/geocoders/googlev3.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import warnings

from geopy.geocoders.google import GoogleV3

__all__ = ("GoogleV3",)

warnings.warn(
"`geopy.geocoders.googlev3` module is deprecated. "
"Use `geopy.geocoders.google` instead. "
"In geopy 3 this module will be removed.",
DeprecationWarning,
stacklevel=2,
)
1 change: 1 addition & 0 deletions test/geocoders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

skip_modules = [
"geopy.geocoders.base", # doesn't contain actual geocoders
"geopy.geocoders.googlev3", # deprecated
"geopy.geocoders.osm", # deprecated
]

Expand Down

0 comments on commit 7f27d0a

Please sign in to comment.