Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT: xfail deprecated Google Image Tile API #2365

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/cartopy/tests/test_img_tiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@


def GOOGLE_IMAGE_URL_REPLACEMENT(self, tile):
# TODO: This is a hack to replace the Google image URL with a static image.
# This service has been deprecated by Google, so we need to replace it
# See https://developers.google.com/chart/image for the notice
pytest.xfail(reason="Google has deprecated the tile API used in this test")

x, y, z = tile
return (f'https://chart.googleapis.com/chart?chst=d_text_outline&'
f'chs=256x256&chf=bg,s,00000055&chld=FFFFFF|16|h|000000|b||||'
Expand Down