Skip to content

Commit

Permalink
Use unique earth_age tiles in test_dataset_to_strings_with_none_values
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Apr 24, 2024
1 parent 99bc5d3 commit bdbb794
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pygmt/helpers/caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ def cache_data():
# Names like @N35E135.earth_relief_03s_g.nc are for internal use only.
# The naming scheme may change. DO NOT USE IT IN YOUR SCRIPTS.
"@N00W030.earth_age_01m_g.nc",
"@N30E060.earth_age_01m_g.nc",
"@N30E090.earth_age_01m_g.nc",
"@N00W030.earth_faa_01m_p.nc",
"@N00W030.earth_geoid_01m_g.nc",
"@S30W060.earth_mag_02m_p.nc",
Expand Down
2 changes: 1 addition & 1 deletion pygmt/tests/test_datatypes_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def test_dataset_to_strings_with_none_values():
See the bug report at https://github.com/GenericMappingTools/pygmt/issues/3170.
"""
tiles = ["@N30W120.earth_relief_15s_p.nc", "@N00W010.earth_relief_15s_p.nc"]
tiles = ["@N30E060.earth_age_01m_g.nc", "@N30E090.earth_age_01m_g.nc"]
paths = which(fname=tiles, download="a")
assert len(paths) == 2
# 'paths' may contain an empty string or not, depending on if the tiles are cached.
Expand Down

0 comments on commit bdbb794

Please sign in to comment.