We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbbfff9 commit a54ff86Copy full SHA for a54ff86
1 file changed
pygmt/tests/test_which.py
@@ -68,7 +68,10 @@ def test_which_nonascii_path(monkeypatch):
68
# Start a new session
69
begin()
70
# GMT should download the remote file under the new home directory.
71
- fname = which(fname="@static_earth_relief.nc", download="cache")
+ try:
72
+ fname = which(fname="@static_earth_relief.nc", download="cache")
73
+ except FileNotFoundError:
74
+ pytest.skip("Failed to download the file, skipping the test.")
75
assert fname.startswith(fakehome)
76
assert fname.endswith("static_earth_relief.nc")
77
end()
0 commit comments